comp wip
This commit is contained in:
1 parent
391bd1d1f3
commit
26bf5359bc
14 files changed
+256
-235
No files matched your search
@@ -15,7 +15,7 @@ class _Dc
|
||||
$debug = NuhBash::$options['d'] ?? 0;
|
||||
|
||||
if ($debug) {
|
||||
Notice::note('Double Chance', 'b');
|
||||
Notice::note('Double Chance '.$odds['bookmaker_id'], 'b');
|
||||
}
|
||||
|
||||
$update_array = [];
|
||||
@@ -33,9 +33,6 @@ class _Dc
|
||||
$update_array['last_check_at'] = Carbon::now()->toDateTimeString();
|
||||
$update_array['source_updated_at'] = $odds['source_updated_at'];
|
||||
|
||||
OddsDc::updateOrCreate([
|
||||
'event_id' => NuhBash::$_event->id,
|
||||
'bookmaker_id' => $odds['bookmaker_id'],
|
||||
], $update_array);
|
||||
OddsDc::updateOrCreate($odds, $update_array);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user