blob: ec49d02651be56a29d51d9c6e7b8aa5b58defa64 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class DomainDefederationWorker
include Sidekiq::Worker
def perform(domains)
DefederateDomainService.new.call(domains)
rescue ActiveRecord::RecordNotFound
true
end
end
|