This commit is contained in:
Dragon Fire
2021-01-12 21:58:51 -05:00
parent 84dbb2fe51
commit e7e5085206
+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = class AnilistCommand extends Command {
const { body } = await request
.post('https://graphql.anilist.co/')
.send({
variables: { search: query },
variables: { name: query },
query: searchGraphQL
});
if (!body.data.users.results.length) return null;