mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
update custom keys passed through notification scheduler
This commit is contained in:
@@ -47,9 +47,11 @@ export class ETANotificationScheduler {
|
||||
title: "Shuttle is arriving",
|
||||
body: `Shuttle is approaching ${stop.name} in ${Math.ceil(eta.secondsRemaining / 60)} minutes.`,
|
||||
customKeys: {
|
||||
shuttleId,
|
||||
stopId,
|
||||
systemId: this.interchangeSystemId,
|
||||
shuttleEtaNotificationInfo: {
|
||||
shuttleId,
|
||||
stopId,
|
||||
systemId: this.interchangeSystemId,
|
||||
}
|
||||
},
|
||||
}
|
||||
return this.appleNotificationSender.sendNotificationImmediately(deviceId, notificationAlertArguments);
|
||||
|
||||
Reference in New Issue
Block a user