Skip to content

Commit f8195f1

Browse files
authored
Fix error in AdminMailer#new_pending_account (mastodon#10264)
1 parent fb90161 commit f8195f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/mailers/admin_mailer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ def new_report(recipient, report)
1515
end
1616
end
1717

18-
def new_pending_account(recipient, account)
19-
@account = account
18+
def new_pending_account(recipient, user)
19+
@account = user.account
2020
@me = recipient
2121
@instance = Rails.configuration.x.local_domain
2222

0 commit comments

Comments
 (0)