Skip to content

Commit

Permalink
fix: update GraphQL endpoint for EpicGames cron (#94)
Browse files Browse the repository at this point in the history
The one we used doesn't accept queries anymore.

Refs: https://github.com/Tectors/EpicGraphQL/tree/main/docs/graphql#graphql
  • Loading branch information
targos authored Mar 9, 2024
1 parent 20bced4 commit 3ecdbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crons/EpicGames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export async function getOfferedGames(
logger: Logger,
): Promise<Game[]> {
const { body } = await got<EpicGamesProducts>(
'https://www.epicgames.com/graphql',
'https://graphql.epicgames.com/graphql',
{
method: 'POST',
json: {
Expand Down

0 comments on commit 3ecdbea

Please sign in to comment.