]> git.localhorst.tv Git - alttp.git/commitdiff
exclude hth from racetime sync
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 13 Feb 2026 18:13:21 +0000 (19:13 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Fri, 13 Feb 2026 18:13:21 +0000 (19:13 +0100)
app/Console/Commands/SyncRacetime.php

index 854897e305a054f5f0be46310ad0a75e01a58cda..9c47362ae8b678c259724e19135d589d905453d8 100644 (file)
@@ -32,6 +32,7 @@ class SyncRacetime extends Command {
         */
        public function handle() {
                $events = Event::whereNotNull('racetime_category')
+                       ->whereNotLike('external_schedule', 'hth:%')
                        ->where(function (Builder $query) {
                                $query->whereNull('end');
                                $query->orWhere('end', '>', now());