mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
feat: send digestId with the push notification for deep link
This commit is contained in:
parent
75f55959f2
commit
bc802adc93
1 changed files with 4 additions and 1 deletions
|
|
@ -560,8 +560,11 @@ const sendPushNotification = async (userId: string, digest: Digest) => {
|
|||
title: 'Omnivore Digest',
|
||||
body: truncate(digest.title, { length: 100 }),
|
||||
}
|
||||
const data = {
|
||||
digestId: digest.id,
|
||||
}
|
||||
|
||||
await sendPushNotifications(userId, notification, 'reminder')
|
||||
await sendPushNotifications(userId, notification, 'reminder', data)
|
||||
}
|
||||
|
||||
const sendEmail = async (
|
||||
|
|
|
|||
Loading…
Reference in a new issue