Merge pull request #3900 from omnivore-app/feature/digest-push-notification-deep-link
feat: send digestId with the push notification for deep link
This commit is contained in:
@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user