Big dum dum

This commit is contained in:
Dragon Fire
2024-11-10 12:35:52 -05:00
committed by GitHub
parent 79a7e31ec8
commit f8b9afb4ab
+3 -1
View File
@@ -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;
}