From 1b812bec5b2eef0bfb658fcbafe5686df2ad4b0f Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 6 Mar 2026 07:06:04 +0100 Subject: [PATCH] grapper logifuture constrain problem fixed --- app/Console/Commands/Grapper/Logifuture.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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');