X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FConsole%2FCommands%2FSyncSRA.php;h=017b5f1fd9d0d00169eab7bd947781205b98bed4;hb=f18af7cfb219ab9c07635ea8bbae80f2a9cee78e;hp=18680add34caee67797401798f80f75ac43eae65;hpb=dc004b57a3d95d29dbf8a06a07df43f603eec6be;p=alttp.git diff --git a/app/Console/Commands/SyncSRA.php b/app/Console/Commands/SyncSRA.php index 18680ad..017b5f1 100644 --- a/app/Console/Commands/SyncSRA.php +++ b/app/Console/Commands/SyncSRA.php @@ -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();