Merge pull request #3490 from artoscinote/ma_SCI_5938

Fixed creating notifications when users are inactive [SCI-5938]
This commit is contained in:
Alex Kriuchykhin 2021-08-18 10:56:53 +02:00 committed by GitHub
commit 7f122e56f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ module NotificationsHelper
)
if target_user.assignments_notification
UserNotification.create(notification: notification, user: target_user)
notification.create_user_notification(target_user)
end
end
end