Skip to content

Commit

Permalink
Merge pull request #653 from CDLUC3/bug/collab-emails
Browse files Browse the repository at this point in the history
Patch bug causing an issue when users add collaborators to their plan
  • Loading branch information
briri authored Sep 23, 2024
2 parents b4d98c8 + 3d19ef7 commit 7d22521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/roles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create
if @role.save
if registered
deliver_if(recipients: user, key: 'users.added_as_coowner') do |r|
UserMailer.sharing_notification(@role, r, inviter: current_user)
UserMailer.sharing_notification(@role, r, current_user)
.deliver_now
end
end
Expand Down

0 comments on commit 7d22521

Please sign in to comment.