diff --git a/commands/search/anime-character.js b/commands/search/anime-character.js index d77aa9da..ebe3a0d8 100644 --- a/commands/search/anime-character.js +++ b/commands/search/anime-character.js @@ -91,6 +91,7 @@ module.exports = class AnimeCharacterCommand extends Command { async search(query) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { search: query }, query: searchGraphQL @@ -102,9 +103,10 @@ module.exports = class AnimeCharacterCommand extends Command { async fetchCharacter(id) { const { body } = await request .post('https://graphql.anilist.co/') + .set({ referer: 'nick is dum dum' }) .send({ variables: { id }, - query: resultGraphQL + query: resultGraphQL, }); return body.data.Character; }