]> git.localhorst.tv Git - alttp.git/blobdiff - app/Console/Commands/SyncSRA.php
slightly improved message generation
[alttp.git] / app / Console / Commands / SyncSRA.php
index 18680add34caee67797401798f80f75ac43eae65..017b5f1fd9d0d00169eab7bd947781205b98bed4 100644 (file)
@@ -40,7 +40,7 @@ class SyncSRA extends Command {
                $events = Event::where('external_schedule', 'LIKE', 'sra:%')
                        ->where(function (Builder $query) {
                                $query->whereNull('end');
-                               $query->orWhere('end', '<', now());
+                               $query->orWhere('end', '>', now());
                        })
                        ->get();