The biggest

This commit is contained in:
Dragon Fire
2024-11-10 12:36:17 -05:00
committed by GitHub
parent f8b9afb4ab
commit b1aaaaebb3
+2
View File
@@ -117,6 +117,7 @@ module.exports = class AnimeStaffCommand 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
@@ -128,6 +129,7 @@ module.exports = class AnimeStaffCommand extends Command {
async fetchStaff(id) {
const { body } = await request
.post('https://graphql.anilist.co/')
.set({ referer: 'nick is dum dum' })
.send({
variables: { id },
query: resultGraphQL