fix supervisor grapper vaiables

This commit is contained in:
salam committed 2026-01-17 08:10:13 +01:00
1 parent 93febce6fb
commit ae13d0b1f9
8 files changed
+97 -89

No files matched your search

+3 -5
View File
@@ -37,7 +37,7 @@ class Odds
$debug = Nuh::$options['d'] ?? 0;
if ($debug) {
Notice::note('txodd odd sport: '.Nuh::$options['sport_id'], 'b');
Notice::note('TXODD ODD sport: '.Nuh::$options['sport_id'], 'b');
}
/**
@@ -66,13 +66,11 @@ class Odds
* URL
*************************************************/
if (Nuh::$options['sport_id'] == 1) {
$AUTHTOKEN = 'ident=betaid1&passwd=Dy59vpRC';
$url = 'https://xml2.txodds.com/feed/odds/xml.php?'.config('env.txodds_betaid1').'&all_odds=2';
} else {
$AUTHTOKEN = 'ident=betaid2&passwd=Dy59vpRC';
$url = 'https://xml2.txodds.com/feed/odds/xml.php?'.config('env.txodds_betaid2').'&all_odds=2';
}
$url = 'https://xml2.txodds.com/feed/odds/xml.php?'.$AUTHTOKEN.'&all_odds=2';
$_calls = [];
$sport = '&spid='.Nuh::$options['sport_id'];