Skip to content

Commit

Permalink
Merge pull request #61 from BIDMCDigitalPsychiatry/add-title
Browse files Browse the repository at this point in the history
#fixes add title in notification to handle language transalation
  • Loading branch information
carlan1 authored Jan 3, 2024
2 parents 6d6dbbd + b3ec586 commit 0f1c540
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/queue/SchedulerQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ export function sendNotification(device_token: string, device_type: string, payl
expiration: 10
},
notificationId: `${notificationId}`,
title: `${payload.title}.`,
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
Expand Down Expand Up @@ -204,6 +205,7 @@ export function sendNotification(device_token: string, device_type: string, payl
expiration: 10
},
notificationId: `${notificationId}`,
title: `${payload.title}.`,
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
Expand Down

0 comments on commit 0f1c540

Please sign in to comment.