Attempt to fix blank preview URLs

This commit is contained in:
Dragon Fire
2021-03-09 20:15:53 -05:00
parent 3e12c4248b
commit 06001ca169
+1 -2
View File
@@ -101,8 +101,7 @@ module.exports = class GuessSongCommand extends Command {
if (this.cache.has(id)) return this.cache.get(id);
const { body } = await request
.get(`https://api.spotify.com/v1/tracks/${id}`)
.set({ Authorization: `Bearer ${this.token}` })
.query({ market: 'us' });
.set({ Authorization: `Bearer ${this.token}` });
const result = {
id,
name: body.name,