From ed531959edb865805c828f2c318146c43f6e581b Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Wed, 22 Feb 2023 10:07:24 +0100 Subject: [PATCH] increase sg sync lookahead --- app/Console/Commands/SyncSpeedGaming.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), -- 2.39.2