about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/after_block_domain_from_account_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/after_block_domain_from_account_service.rb b/app/services/after_block_domain_from_account_service.rb
index 30f925bda..58bd69bdd 100644
--- a/app/services/after_block_domain_from_account_service.rb
+++ b/app/services/after_block_domain_from_account_service.rb
@@ -20,7 +20,7 @@ class AfterBlockDomainFromAccountService < BaseService
   private
 
   def defederate_from_domain!
-    DefederateAccountService.new.call(@account, domain)
+    DefederateAccountService.new.call(@account, @domain)
   end
 
   def remove_follows!