Add ability to disable login and mark accounts as memorial (#5615)
Fix #5597
This commit is contained in:
@ -6,6 +6,6 @@ class Admin::SuspensionWorker
|
||||
sidekiq_options queue: 'pull'
|
||||
|
||||
def perform(account_id, remove_user = false)
|
||||
SuspendAccountService.new.call(Account.find(account_id), remove_user)
|
||||
SuspendAccountService.new.call(Account.find(account_id), remove_user: remove_user)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user