diff options
-rw-r--r-- | app/workers/domain_block_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/domain_block_worker.rb b/app/workers/domain_block_worker.rb index d51c387dc..8227eb27b 100644 --- a/app/workers/domain_block_worker.rb +++ b/app/workers/domain_block_worker.rb @@ -4,7 +4,7 @@ class DomainBlockWorker include Sidekiq::Worker def perform(domain_block_id) - domain_block = DomainBlock.find(domain_block_id) + domain_block = DomainBlock.find(domain_block_id.to_i) BlockDomainService.new.call(domain_block) rescue ActiveRecord::RecordNotFound true |