diff --git a/app/Console/Commands/Grapper/Logifuture/Icehockey.php b/app/Console/Commands/Grapper/Logifuture/Icehockey.php index 9dc5de3a..56b7bbc9 100644 --- a/app/Console/Commands/Grapper/Logifuture/Icehockey.php +++ b/app/Console/Commands/Grapper/Logifuture/Icehockey.php @@ -139,7 +139,7 @@ class Icehockey $res = Odds2wayS1::where('event_id', $event['id'])->where('bookmaker_id', $event['bookmaker_id'])->first(); if (! $res) { - Odds2wayS1::create($ml); + Odds2wayS1::create($mls1); } else { $res->h2w = number_format($mls1['h2w'], 2); $res->a2w = number_format($mls1['a2w'], 2);