mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 22:44:32 +02:00
Fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user