wip
This commit is contained in:
1 parent
17905903a8
commit
d26006f59a
2 files changed
+10
-10
No files matched your search
@@ -101,14 +101,15 @@ class Fixtures
|
||||
|
||||
FindFixture::find($event);
|
||||
|
||||
DB::transaction(function () use ($event, $sport_id) {
|
||||
EventBookmaker::updateOrCreate([
|
||||
'event_id' => $event['id'],
|
||||
'sport_id' => $sport_id,
|
||||
'bookmaker_id' => Nuh::$options['bookmaker_id'],
|
||||
], ['in_feed' => 1, 'bmoid' => $event['event_id'], 'starttime' => $event['starttime']]);
|
||||
}, 5);
|
||||
|
||||
if (isset($event['id'])) {
|
||||
DB::transaction(function () use ($event, $sport_id) {
|
||||
EventBookmaker::updateOrCreate([
|
||||
'event_id' => $event['id'],
|
||||
'sport_id' => $sport_id,
|
||||
'bookmaker_id' => Nuh::$options['bookmaker_id'],
|
||||
], ['in_feed' => 1, 'bmoid' => $event['event_id'], 'starttime' => $event['starttime']]);
|
||||
}, 5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user