Skip to content

Commit

Permalink
Switch back to eu market to get pinnacle odds
Browse files Browse the repository at this point in the history
  • Loading branch information
blchelle committed Sep 5, 2024
1 parent 6ece629 commit 3512376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/odds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const getOddsData = async (): Promise<OddsData> => {
const oddsApiUrl = buildUrl(
env.oddsApi.host,
'/v4/sports/americanfootball_nfl/odds',
{ regions: 'us', markets: 'h2h', oddsFormat: 'decimal', apiKey: env.oddsApi.apiKey }
{ regions: 'eu', markets: 'h2h', oddsFormat: 'decimal', apiKey: env.oddsApi.apiKey }
)
return (await axios.get(oddsApiUrl)).data
}

0 comments on commit 3512376

Please sign in to comment.