magloo grapper fix

This commit is contained in:
salam committed 2026-02-22 14:41:29 +01:00
1 parent 57a2d75b57
commit f424f33c32
9 files changed
+215 -176

No files matched your search

@@ -15,6 +15,22 @@ class FindFixture
public static $groups = [];
/***
"event_id" => 3864842
"betradar_id" => 62924779
"sport_id" => 3
"provider_id" => 3
"country_id" => 128
"country" => "USA"
"group_id" => 1301
"group" => "NBA"
"starttime" => "2026-02-22 20:30:00"
"home_id" => 6855
"home" => "Golden State Warriors"
"away_id" => 6843
"away" => "Denver Nuggets"
*/
public static function start()
{
self::$elements = LoadElements::load(Nuh::$options['provider_id'], true);
@@ -118,7 +134,7 @@ class FindFixture
return;
}
if (in_array(Nuh::$options['provider_id'], [5, 6, 9])) {
if (in_array(Nuh::$options['provider_id'], [3, 4, 5, 6, 9, 10])) {
Mapper::updateOrCreate(['event_id' => $event_id], $event);
}