mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 03:55:07 +01:00
Fix new sign-up notification not working because of incorrect type name (#17629)
This commit is contained in:
parent
0db101ede2
commit
1c3e5e44e2
@ -18,7 +18,7 @@ class BootstrapTimelineService < BaseService
|
||||
|
||||
def notify_staff!
|
||||
User.staff.includes(:account).find_each do |user|
|
||||
NotifyService.new.call(user.account, :'admin.new_user', @source_account)
|
||||
NotifyService.new.call(user.account, :'admin.sign_up', @source_account)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user