blob: ccd0b8ae919f653ce0c8f51d0721f3b6cd8af756 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class AfterUnallowDomainService < BaseService
def call(domain)
Account.where(domain: domain).find_each do |account|
SuspendAccountService.new.call(account, reserve_username: false)
end
end
end
|