Fix new sign-up notification not working because of incorrect type name (#17629)

This commit is contained in:
Claire 2022-02-23 19:30:13 +01:00 committed by GitHub
parent 0db101ede2
commit 1c3e5e44e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ class BootstrapTimelineService < BaseService
def notify_staff! def notify_staff!
User.staff.includes(:account).find_each do |user| 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 end
end end