From 483307f225b9bd7e9494b3f82e95bd0c1fac6ffc Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Sun, 2 Feb 2025 13:51:48 -0800 Subject: [PATCH] add arguments to scheduling methods --- src/services/NotificationService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/NotificationService.ts b/src/services/NotificationService.ts index 755b39c..b47fff0 100644 --- a/src/services/NotificationService.ts +++ b/src/services/NotificationService.ts @@ -9,11 +9,11 @@ interface ScheduledNotificationData { export class NotificationService { constructor(private repository: GetterRepository) {} - public async scheduleNotification() { + public async scheduleNotification({ deviceId, shuttleId, stopId }: ScheduledNotificationData) { } - public async cancelNotification() { + public async cancelNotification({ deviceId, shuttleId, stopId }: ScheduledNotificationData) { }