txodds ods gr ad sport id to all

This commit is contained in:
salam committed 2026-01-12 10:03:17 +01:00
1 parent 1fe23661cb
commit 7e820268f4
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ class Odds
/** /**
* ALL by ID * 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) { foreach ($res as $id) {
$_calls[] = $url."&ot=$markets&peid=".$id; $_calls[] = $url."&ot=$markets&peid=".$id;
} }