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

@@ -21,6 +21,10 @@ class Fixtures
$today = Nuh::$options['t'] ?? 0;
$week = Nuh::$options['w'] ?? 0;
if ($debug) {
Notice::note('TXODDS FIXTURES', 'b');
}
$count = 0;
$total_soccer = 0;
$total_others = 0;
@@ -38,15 +42,13 @@ class Fixtures
}
$sports = Sport::where('is_active', 1)->pluck('id')->toArray();
/**
* Grap
*/
$AUTHTOKEN = [
'SOCCER' => 'ident=betaid1&passwd=Dy59vpRC',
'OTHER' => 'ident=betaid2&passwd=Dy59vpRC',
];
$kontos = ['soccer' => config('env.txodds_betaid1'), 'other' => config('env.txodds_betaid2')];
foreach ($AUTHTOKEN as $konto => $authentication) {
foreach ($kontos as $authentication) {
// code...
if ($today) {