about summary refs log tree commit diff
path: root/app/services/bootstrap_timeline_service.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-04 01:07:49 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-03-04 01:07:49 +0100
commitd9c3109bb67f64c671573b1bab02132c6214509b (patch)
tree3d39c780306ee52a48b3c3d1ae30ecf600ba962d /app/services/bootstrap_timeline_service.rb
parent3637a0101e1f5095397f190e88f281d603797c32 (diff)
parent2ea754b8610b50cc93aeb1921ecdf7415efaf17e (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/bootstrap_timeline_service.rb')
-rw-r--r--app/services/bootstrap_timeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/bootstrap_timeline_service.rb b/app/services/bootstrap_timeline_service.rb
index 312c163e4..a02e55a6d 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.sign_up', @source_account)
+      LocalNotificationWorker.perform_async(user.account_id, @source_account.id, 'Account', 'admin.sign_up')
     end
   end
 end