mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +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",
|
title: "Shuttle is arriving",
|
||||||
body: `Shuttle is approaching ${stop.name} in ${Math.ceil(eta.secondsRemaining / 60)} minutes.`,
|
body: `Shuttle is approaching ${stop.name} in ${Math.ceil(eta.secondsRemaining / 60)} minutes.`,
|
||||||
customKeys: {
|
customKeys: {
|
||||||
shuttleId,
|
shuttleEtaNotificationInfo: {
|
||||||
stopId,
|
shuttleId,
|
||||||
systemId: this.interchangeSystemId,
|
stopId,
|
||||||
|
systemId: this.interchangeSystemId,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return this.appleNotificationSender.sendNotificationImmediately(deviceId, notificationAlertArguments);
|
return this.appleNotificationSender.sendNotificationImmediately(deviceId, notificationAlertArguments);
|
||||||
|
|||||||
Reference in New Issue
Block a user