Add filters for suspended accounts
This commit is contained in:
1 parent
2488162733
commit
f406e01fcf
8 files changed
+35
-12
No files matched your search
@@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Admin::SuspensionWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform(account_id)
|
||||
SuspendAccountService.new.call(Account.find(account_id))
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user