mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Send libraryItemId and thumbnail with push notifications
This commit is contained in:
parent
bd4e405984
commit
6bc100942f
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ const sendNotification = async (obj: RuleActionObj) => {
|
|||
const message = {
|
||||
title: item.author || item.siteName || 'Omnivore',
|
||||
body: item.title,
|
||||
libraryItemId: item.id,
|
||||
thumbnail: item.thumbnail,
|
||||
}
|
||||
|
||||
return sendPushNotifications(obj.userId, message, 'rule')
|
||||
|
|
|
|||
Loading…
Reference in a new issue