diff --git a/app/models/user/roles.rb b/app/models/user/roles.rb index 70697f85..27050187 100644 --- a/app/models/user/roles.rb +++ b/app/models/user/roles.rb @@ -34,7 +34,7 @@ def add_role new_role ActiveSupport::Notifications.instrument 'user.badge_award', username: self.username, badge: new_role end if new_role === "dj" - DjAccountMailer.welcome_email(self.username, '', self.radios.first).deliver_later + DjAccountMailer.welcome_email(self, '', self.radios.first).deliver_later end end end