Skip to content

Commit

Permalink
Merge pull request #62 from BIDMCDigitalPsychiatry/change-in-title
Browse files Browse the repository at this point in the history
#fixes  title changes in ios  for transalation
  • Loading branch information
carlan1 authored Jan 5, 2024
2 parents 0f1c540 + 3462b86 commit 46a94c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/queue/SchedulerQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export function sendNotification(device_token: string, device_type: string, payl
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
"loc-key": "You have a mindLAMP activity waiting for you: %@.",
"loc-args": [
payload.title
]
},
}

Expand Down Expand Up @@ -209,6 +213,10 @@ export function sendNotification(device_token: string, device_type: string, payl
expiry: 21600000,
page: `${url}`,
actions: [{ name: "Open App", page: `${url}` }],
"loc-key": "You have a mindLAMP activity waiting for you: %@.",
"loc-args": [
payload.title
]
},
}
//connect to api gateway and send notifications
Expand Down

0 comments on commit 46a94c3

Please sign in to comment.