This commit is contained in:
Dragon Fire
2024-04-27 13:44:10 -04:00
committed by GitHub
parent 92af716ed9
commit 1f5fb41b1d
+1 -1
View File
@@ -124,7 +124,7 @@ module.exports = class AnimeScoreCommand extends Command {
}, },
query: searchGraphQL query: searchGraphQL
}); });
const pageInfo = body.data.Page.pageInfo; const { pageInfo } = body.data.Page;
this.totalAnime = pageInfo.lastPage * pageInfo.perPage; this.totalAnime = pageInfo.lastPage * pageInfo.perPage;
setTimeout(() => { this.totalAnime = null; }, 2.16e+7); setTimeout(() => { this.totalAnime = null; }, 2.16e+7);
return this.totalAnime; return this.totalAnime;