mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
fix send notification after members sync
This commit is contained in:
parent
78518e17fb
commit
2d0e201cb7
@ -21,7 +21,9 @@ class SyncMembersOnStripeWorker
|
||||
return unless notify_user_id
|
||||
|
||||
logger.debug "Notify user #{notify_user_id}"
|
||||
user = User.find(notify_user_id)
|
||||
NotificationCenter.call type: :notify_admin_members_stripe_sync,
|
||||
receiver: User.find(notify_user_id)
|
||||
receiver: user,
|
||||
attached_object: user
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user