diff --git a/commands/games-sp/guess-song.js b/commands/games-sp/guess-song.js index 051f1137..236f17c6 100644 --- a/commands/games-sp/guess-song.js +++ b/commands/games-sp/guess-song.js @@ -117,7 +117,7 @@ module.exports = class GuessSongCommand extends Command { const { body } = await request .post('https://accounts.spotify.com/api/token') .set({ Authorization: `Basic ${base64(`${SPOTIFY_KEY}:${SPOTIFY_SECRET}`)}` }) - .send('grant_type=client_credentials'); + .attach('grant_type', 'client_credentials'); this.token = body.access_token; setTimeout(() => { this.token = null; }, body.expires_in); return body;