mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add arguments to scheduling methods
This commit is contained in:
@@ -9,11 +9,11 @@ interface ScheduledNotificationData {
|
|||||||
export class NotificationService {
|
export class NotificationService {
|
||||||
constructor(private repository: GetterRepository) {}
|
constructor(private repository: GetterRepository) {}
|
||||||
|
|
||||||
public async scheduleNotification() {
|
public async scheduleNotification({ deviceId, shuttleId, stopId }: ScheduledNotificationData) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public async cancelNotification() {
|
public async cancelNotification({ deviceId, shuttleId, stopId }: ScheduledNotificationData) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user