]> git.localhorst.tv Git - alttp.git/commitdiff
fix type in sg sync
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 19 Jun 2023 20:33:44 +0000 (22:33 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 19 Jun 2023 20:33:44 +0000 (22:33 +0200)
app/Console/Commands/SyncSpeedGaming.php

index d7f9a63653d9a9b25f7f610861ecdddcc82dfe5c..41286ce95f2971ece8ce61877f9540214dd9a6e8 100644 (file)
@@ -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();