diff options
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/block_worker.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/workers/block_worker.rb b/app/workers/block_worker.rb index 25f5dd808..89ba11b55 100644 --- a/app/workers/block_worker.rb +++ b/app/workers/block_worker.rb @@ -3,10 +3,11 @@ class BlockWorker include Sidekiq::Worker - def perform(account_id, target_account_id) + def perform(account_id, target_account_id, defederate: true) AfterBlockService.new.call( Account.find(account_id), - Account.find(target_account_id) + Account.find(target_account_id), + defederate: defederate ) end end |