about summary refs log tree commit diff
path: root/app/workers/after_account_domain_unblock_worker.rb
blob: 6268f0819e07e1a4d603fd4f8374f701978fc58d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AfterAccountDomainUnblockWorker
  include Sidekiq::Worker

  def perform(account_id, domain)
    AfterUnblockDomainFromAccountService.new.call(Account.find(account_id), domain)
  rescue ActiveRecord::RecordNotFound
    true
  end
end