]> cat aescling's git repositories - mastodon.git/commitdiff
Fix new sign-up notification not working because of incorrect type name (#17629)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 23 Feb 2022 18:30:13 +0000 (19:30 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Feb 2022 18:30:13 +0000 (19:30 +0100)
app/services/bootstrap_timeline_service.rb

index 70e7cc57016f11dd645f77f51b19d70097543fdf..312c163e47efcb3121d90ee287c86937a6294157 100644 (file)
@@ -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