txodds ods gr ad sport id to all
This commit is contained in:
1 parent
1fe23661cb
commit
7e820268f4
1 file changed
+1
-1
@@ -175,7 +175,7 @@ class Odds
|
||||
/**
|
||||
* ALL by ID
|
||||
*/
|
||||
$res = Event::where('starttime', '>', Carbon::now()->toDateTimeString())->pluck('id');
|
||||
$res = Event::where('sport_id', Nuh::$options['sport_id'])->where('starttime', '>', Carbon::now()->toDateTimeString())->pluck('id');
|
||||
foreach ($res as $id) {
|
||||
$_calls[] = $url."&ot=$markets&peid=".$id;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user