blob: ccd0b8ae919f653ce0c8f51d0721f3b6cd8af756 (
plain) (
tree)
|
|
# 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
|