From c61f75cb020de44a111b6cdeea4af46370a192d4 Mon Sep 17 00:00:00 2001 From: Collin Duncan <3679940+cgduncan7@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:30:51 +0100 Subject: [PATCH] Changing monitor to view 1 week in advance when no reservations are required --- src/reservations/cron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reservations/cron.ts b/src/reservations/cron.ts index 09005bc..a716003 100644 --- a/src/reservations/cron.ts +++ b/src/reservations/cron.ts @@ -52,7 +52,7 @@ export class ReservationsCronService { ) } else { this.loggerService.log('Monitoring reservations') - await this.brService.monitorCourtReservations(dayjs()) + await this.brService.monitorCourtReservations(dayjs().add(7, 'day')) } this.loggerService.log('handleDailyReservations ending') await this.ntfyProvider.sendCronStopNotification(