From a4a4b28974ef42d932d38b061e15e45e29d65696 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 13 Feb 2026 11:27:24 +0100 Subject: [PATCH] wip --- app/Console/Commands/Grapper/Betsapi/Willhill.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Grapper/Betsapi/Willhill.php b/app/Console/Commands/Grapper/Betsapi/Willhill.php index 9de7ad5f..7e1f04a4 100644 --- a/app/Console/Commands/Grapper/Betsapi/Willhill.php +++ b/app/Console/Commands/Grapper/Betsapi/Willhill.php @@ -27,7 +27,7 @@ class Willhill $res = Odds3way::with('event')->where('bookmaker_id', $bookmaker_id)->get(); foreach ($res as $value) { - if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id != 0) { + if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) { $collection[] = [ 'txodds_id' => $value->event_id, 'willhill_id' => $value->bmoid, @@ -37,7 +37,7 @@ class Willhill } $res = Odds2way::with('event')->where('bookmaker_id', $bookmaker_id)->get(); foreach ($res as $value) { - if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id != 0) { + if ($value->event->starttime > Carbon::now() && $value->event->starttime < Carbon::now()->addDays(5) && $value->event->betsapi_id == 0) { $collection[] = [ 'txodds_id' => $value->event_id, 'willhill_id' => $value->bmoid,