From 90cdd262418ffe10e8de1d74efda16204951c799 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CA=9C=C9=AA=C9=B4=E1=B4=87=C9=AA=20N=E1=B4=8F=E1=B4=9C?= =?UTF-8?q?=E1=B4=A2=E1=B4=87=C9=B4?= <157171073+Shineii86@users.noreply.github.com> Date: Thu, 25 Jun 2026 09:21:27 +0530 Subject: [PATCH] =?UTF-8?q?Fix=20tags=20query=20=E2=80=94=20TagCollection?= =?UTF-8?q?=E2=86=92MediaTagCollection,=20remove=20rank=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/helpers/anilist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/anilist.js b/src/helpers/anilist.js index fa99e2f..c46ff1e 100644 --- a/src/helpers/anilist.js +++ b/src/helpers/anilist.js @@ -607,7 +607,7 @@ const getAllGenres = async () => { * @returns {Promise} Array of tag objects { name, description, category, rank, isGeneralSpoiler, isMediaSpoiler, isAdult } */ const getAllTags = async () => { - const gql = `query { TagCollection { name description category rank isGeneralSpoiler isMediaSpoiler isAdult } }`; + const gql = `query { MediaTagCollection { name description category isGeneralSpoiler isMediaSpoiler isAdult } }`; const data = await anilistQuery(gql); return data.TagCollection; };