diff --git a/src/api/queries/v2-modsbymodid.ts b/src/api/queries/v2-modsbymodid.ts index b6a3fa2..1d9139d 100644 --- a/src/api/queries/v2-modsbymodid.ts +++ b/src/api/queries/v2-modsbymodid.ts @@ -14,7 +14,7 @@ interface IModRequest { } const query = gql` -query Mods($mods: [CompositeDomainWithIdInput!]!, $count: Int!, $offset: Int!) { +query DiscordBotModsByDomain($mods: [CompositeDomainWithIdInput!]!, $count: Int!, $offset: Int!) { legacyModsByDomain(ids: $mods, count: $count, offset: $offset) { nodes { uid @@ -101,4 +101,4 @@ async function modsQuery(headers: Record, mods: IModRequest[], of throw new Error('Could not find some or all of the mods.'); } -} \ No newline at end of file +}