From: Daniel Karbach Date: Mon, 19 Jun 2023 20:33:44 +0000 (+0200) Subject: fix type in sg sync X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b814478f9bc289cd558fd4a5beab44f299347d88;p=alttp.git fix type in sg sync --- 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();