flyzto 1 mese fa
parent
commit
5d661b84bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pinnacle/main.js

+ 1 - 1
pinnacle/main.js

@@ -191,7 +191,7 @@ const getStraightOdds = async () => {
   if (since == 0) {
     Logs.outDev('full update straight odds');
   }
-  return pinnacleGet('/v3/odds', { sportId: 29, oddsFormat: 'Decimal', leagueIds, since })
+  return pinnacleGet('/v4/odds', { sportId: 29, oddsFormat: 'Decimal', leagueIds, since })
   .then(data => {
     const { leagues, last } = data;
     if (!last) {