Skip to content

Commit

Permalink
fix: #1063 fixture-odds (endpoint) path (up);
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Mar 12, 2023
1 parent d402f91 commit e02a0d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export async function load({ url, params, fetch }): Promise<PageLoad> {
`/api/cache/tournaments/top_players?league_id=${league_id}`,
`/api/cache/tournaments/fixtures_odds?lang=${urlLang}`,
// `/api/cache/tournaments/fixtures_odds?league_id=${league_id}` // [?] alt.1
`/api/hasura/tournaments/fixture_odds/league?leagueId=${league_id}` // [?] alt.2 // [ℹ] NOTE: can be "null"
`/api/hasura/league/fixtures-odds?league_id=${league_id}` // [?] alt.2 // [ℹ] NOTE: can be "null"
];

const promises = urls.map((_url) =>
Expand Down

0 comments on commit e02a0d7

Please sign in to comment.