add shuttleId as custom key in notification alert argument

This commit is contained in:
2025-04-22 11:00:53 -07:00
parent 26b1e70f5b
commit 44a0f56b93
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ interface APNsUrl {
export interface NotificationAlertArguments {
title: string;
body: string;
customKeys?: any,
}
export class AppleNotificationSender {
@@ -110,7 +111,8 @@ export class AppleNotificationSender {
aps: {
alert: notificationAlertArguments,
sound: "default"
}
},
...notificationAlertArguments.customKeys,
}));
req.end();
});