This commit is contained in:
salam committed 2025-12-16 15:52:07 +01:00
1 parent 391bd1d1f3
commit 26bf5359bc
14 files changed
+256 -235

No files matched your search

@@ -16,7 +16,7 @@ class _3Way
$debug = NuhBash::$options['d'] ?? 0;
if ($debug) {
Notice::note('Odds 3 Way', 'b');
Notice::note('1X2 '.$odds['bookmaker_id'], 'b');
}
$update_array = [];
@@ -41,9 +41,6 @@ class _3Way
$update_array['last_check_at'] = Carbon::now()->toDateTimeString();
$update_array['source_updated_at'] = $odds['source_updated_at'];
Odds3way::updateOrCreate([
'event_id' => NuhBash::$_event->id,
'bookmaker_id' => $odds['bookmaker_id'],
], $update_array);
Odds3way::updateOrCreate($odds, $update_array);
}
}