mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 10:25:11 +02:00
Fix
This commit is contained in:
@@ -44,10 +44,12 @@ const resultGraphQL = stripIndents`
|
|||||||
const personalGraphQL = stripIndents`
|
const personalGraphQL = stripIndents`
|
||||||
query ($name: String, $type: MediaType) {
|
query ($name: String, $type: MediaType) {
|
||||||
MediaListCollection(userName: $name, type: $type) {
|
MediaListCollection(userName: $name, type: $type) {
|
||||||
entries {
|
lists {
|
||||||
mediaId
|
entries {
|
||||||
score(format: POINT_10)
|
mediaId
|
||||||
progress
|
score(format: POINT_10)
|
||||||
|
progress
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -157,7 +159,7 @@ module.exports = class AnimeCommand extends Command {
|
|||||||
},
|
},
|
||||||
query: personalGraphQL
|
query: personalGraphQL
|
||||||
});
|
});
|
||||||
this.personalList = body.data.MediaListCollection.entries;
|
this.personalList = body.data.MediaListCollection.lists[0].entries;
|
||||||
setTimeout(() => { this.personalList = null; }, 3.6e+6);
|
setTimeout(() => { this.personalList = null; }, 3.6e+6);
|
||||||
return this.personalList;
|
return this.personalList;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user