From 8f103321017f7b2fd6c1d6cf3991f0575fd9ba7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 9 Mar 2024 10:21:10 +0100 Subject: [PATCH] fix: update GraphQL endpoint for EpicGames cron The one we used doesn't accept queries anymore. Refs: https://github.com/Tectors/EpicGraphQL/tree/main/docs/graphql#graphql --- src/crons/EpicGames.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crons/EpicGames.ts b/src/crons/EpicGames.ts index 3bdee69..3f08069 100644 --- a/src/crons/EpicGames.ts +++ b/src/crons/EpicGames.ts @@ -198,7 +198,7 @@ export async function getOfferedGames( logger: Logger, ): Promise { const { body } = await got( - 'https://www.epicgames.com/graphql', + 'https://graphql.epicgames.com/graphql', { method: 'POST', json: {