diff --git a/app/Console/Commands/Grapper/Logifuture.php b/app/Console/Commands/Grapper/Logifuture.php index 6658b9b9..33300cb6 100644 --- a/app/Console/Commands/Grapper/Logifuture.php +++ b/app/Console/Commands/Grapper/Logifuture.php @@ -11,6 +11,7 @@ use App\Console\Commands\Grapper\Logifuture\Tools\Authentication; use App\Console\Commands\Grapper\Logifuture\Tools\LogifutureData; use App\Console\Commands\Grapper\Logifuture\Tools\MapEvent; use App\Console\Commands\Nuh; +use App\Models\Event; use App\Models\EventBookmaker; use App\Models\Sport; use App\Utilities\Notice; @@ -68,7 +69,7 @@ class Logifuture // Notice::note($event, 'r'); - if (isset($event['id'])) { + if (Event::where('id', $event['id'])->exists()) { // Notice::note($event, 'b');