|
|
@@ -186,11 +186,11 @@ const getStraightOdds = async () => {
|
|
|
return Promise.reject(new Error('no filted leagues'));
|
|
|
}
|
|
|
const leagueIds = GLOBAL_DATA.filtedLeagues.join(',');
|
|
|
- let since = GLOBAL_DATA.straightOddsVersion;
|
|
|
- if (GLOBAL_DATA.straightOddsCount >= 27) {
|
|
|
- since = 0;
|
|
|
- GLOBAL_DATA.straightOddsCount = 3;
|
|
|
- }
|
|
|
+ const since = GLOBAL_DATA.straightOddsVersion;
|
|
|
+ // if (GLOBAL_DATA.straightOddsCount >= 27) {
|
|
|
+ // since = 0;
|
|
|
+ // GLOBAL_DATA.straightOddsCount = 3;
|
|
|
+ // }
|
|
|
if (since == 0) {
|
|
|
Logs.outDev('full update straight odds');
|
|
|
}
|
|
|
@@ -236,11 +236,11 @@ const getSpecialFixtures = async () => {
|
|
|
return Promise.reject(new Error('no filted leagues'));
|
|
|
}
|
|
|
const leagueIds = GLOBAL_DATA.filtedLeagues.join(',');
|
|
|
- const since = GLOBAL_DATA.specialFixturesVersion;
|
|
|
- // if (GLOBAL_DATA.specialFixturesCount >= 18) {
|
|
|
- // since = 0;
|
|
|
- // GLOBAL_DATA.specialFixturesCount = 6;
|
|
|
- // }
|
|
|
+ let since = GLOBAL_DATA.specialFixturesVersion;
|
|
|
+ if (GLOBAL_DATA.specialFixturesCount >= 18) {
|
|
|
+ since = 0;
|
|
|
+ GLOBAL_DATA.specialFixturesCount = 6;
|
|
|
+ }
|
|
|
if (since == 0) {
|
|
|
Logs.outDev('full update special fixtures');
|
|
|
}
|