]> git.localhorst.tv Git - alttp.git/blobdiff - app/Console/Commands/SyncSpeedGaming.php
fix type in sg sync
[alttp.git] / 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();