From 708427b2f0e7471a9594d36d8b72d46cd571c11d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 27 Apr 2024 11:03:15 -0400 Subject: [PATCH] Update anime-score.js --- commands/games-sp/anime-score.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-sp/anime-score.js b/commands/games-sp/anime-score.js index c5581f9e..532b5895 100644 --- a/commands/games-sp/anime-score.js +++ b/commands/games-sp/anime-score.js @@ -4,12 +4,12 @@ const request = require('node-superfetch'); const { stripIndents } = require('common-tags'); const logos = require('../../assets/json/logos'); const searchGraphQL = stripIndents` - query ($page: Int, $type: MediaType, $isAdult: Boolean) { + query ($page: Int, $type: MediaType) { Page (page: $page) { pageInfo { total } - media (type: $type, popularity_greater: 2500, averageScore_not: 0, isAdult: $isAdult) { + media (type: $type, popularity_greater: 2500, averageScore_not: 0, sort: POPULARITY_DESC) { id averageScore title {