Send libraryItemId and thumbnail with push notifications

This commit is contained in:
Jackson Harper 2024-03-08 16:40:49 +08:00
parent bd4e405984
commit 6bc100942f

View file

@ -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')