update custom keys passed through notification scheduler

This commit is contained in:
2025-04-23 11:55:15 -07:00
parent b3cd399e10
commit bf06c7ed3a

View File

@@ -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);