From b814478f9bc289cd558fd4a5beab44f299347d88 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 19 Jun 2023 22:33:44 +0200 Subject: [PATCH] fix type in sg sync --- app/Console/Commands/SyncSpeedGaming.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncSpeedGaming.php b/app/Console/Commands/SyncSpeedGaming.php index d7f9a63..41286ce 100644 --- a/app/Console/Commands/SyncSpeedGaming.php +++ b/app/Console/Commands/SyncSpeedGaming.php @@ -42,7 +42,7 @@ class SyncSpeedGaming extends Command { $events = Event::where('external_schedule', 'LIKE', 'sg:%') ->where(function (Builder $query) { $query->whereNull('end'); - $query->orWhere('end', '<', now()); + $query->orWhere('end', '>', now()); }) ->get(); -- 2.39.2