From 1f5fb41b1df97e431957d6b38ee336fb53874558 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 27 Apr 2024 13:44:10 -0400 Subject: [PATCH] Fix lint --- commands/games-sp/anime-score.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/anime-score.js b/commands/games-sp/anime-score.js index 8d1cae76..03d6b458 100644 --- a/commands/games-sp/anime-score.js +++ b/commands/games-sp/anime-score.js @@ -124,7 +124,7 @@ module.exports = class AnimeScoreCommand extends Command { }, query: searchGraphQL }); - const pageInfo = body.data.Page.pageInfo; + const { pageInfo } = body.data.Page; this.totalAnime = pageInfo.lastPage * pageInfo.perPage; setTimeout(() => { this.totalAnime = null; }, 2.16e+7); return this.totalAnime;