about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-08-08 10:06:09 -0700
committerReverite <github@reverite.sh>2019-08-08 10:06:09 -0700
commit9528d3eda280ffac20a18c6f21bfc51f594e2c86 (patch)
tree0b6f5b980996b2d16c2dcdd5b932075812753098 /app/workers
parent7a312a38f904e853f5703a0b678d0aec83fa858c (diff)
parentaa485d6f055b93fd7a9df8b47ed96122b38af39e (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/domain_block_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/domain_block_worker.rb b/app/workers/domain_block_worker.rb
index 884477829..35518d6b5 100644
--- a/app/workers/domain_block_worker.rb
+++ b/app/workers/domain_block_worker.rb
@@ -3,8 +3,8 @@
 class DomainBlockWorker
   include Sidekiq::Worker
 
-  def perform(domain_block_id)
-    BlockDomainService.new.call(DomainBlock.find(domain_block_id))
+  def perform(domain_block_id, update = false)
+    BlockDomainService.new.call(DomainBlock.find(domain_block_id), update)
   rescue ActiveRecord::RecordNotFound
     true
   end