Send libraryItemId with push notifications

This commit is contained in:
Jackson Harper 2024-03-08 17:24:02 +08:00
parent 28aa9a468d
commit e093738dcc

View file

@ -76,7 +76,7 @@ const sendNotification = async (obj: RuleActionObj) => {
libraryItemId: item.id,
}
return sendPushNotifications(obj.userId, message, 'rule')
return sendPushNotifications(obj.userId, message, 'rule', data)
}
const getRuleAction = (actionType: RuleActionType): RuleActionFunc => {