diff --git a/packages/api/src/jobs/ai/create_digest.ts b/packages/api/src/jobs/ai/create_digest.ts index 6ffdd96d4..cfb00b1ef 100644 --- a/packages/api/src/jobs/ai/create_digest.ts +++ b/packages/api/src/jobs/ai/create_digest.ts @@ -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 (