Skip to content

Commit

Permalink
Fix error in AdminMailer#new_pending_account (mastodon#10264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Mar 14, 2019
1 parent fb90161 commit f8195f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/mailers/admin_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def new_report(recipient, report)
end
end

def new_pending_account(recipient, account)
@account = account
def new_pending_account(recipient, user)
@account = user.account
@me = recipient
@instance = Rails.configuration.x.local_domain

Expand Down

0 comments on commit f8195f1

Please sign in to comment.