From: Daniel Karbach Date: Wed, 22 Feb 2023 09:07:24 +0000 (+0100) Subject: increase sg sync lookahead X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=ed531959edb865805c828f2c318146c43f6e581b;p=alttp.git increase sg sync lookahead --- diff --git a/app/Console/Commands/SyncSpeedGaming.php b/app/Console/Commands/SyncSpeedGaming.php index c2fa368..75f3cbc 100644 --- a/app/Console/Commands/SyncSpeedGaming.php +++ b/app/Console/Commands/SyncSpeedGaming.php @@ -61,7 +61,7 @@ class SyncSpeedGaming extends Command { private function syncEvent(Event $event) { $sgHandle = substr($event->external_schedule, 3); $from = now()->sub(1, 'day'); - $to = now()->add(6, 'day'); + $to = now()->add(14, 'day'); $sgSchedule = HTTP::get('https://speedgaming.org/api/schedule/', [ 'event' => $sgHandle, 'from' => $from->toIso8601String(),