From: Claire Date: Wed, 23 Feb 2022 18:30:13 +0000 (+0100) Subject: Fix new sign-up notification not working because of incorrect type name (#17629) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=1c3e5e44e2cb7eaeb3a930ec1821096827df930e;p=mastodon.git Fix new sign-up notification not working because of incorrect type name (#17629) --- diff --git a/app/services/bootstrap_timeline_service.rb b/app/services/bootstrap_timeline_service.rb index 70e7cc570..312c163e4 100644 --- a/app/services/bootstrap_timeline_service.rb +++ b/app/services/bootstrap_timeline_service.rb @@ -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