about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-07-16 14:43:50 +0200
committerThibaut Girka <thib@sitedethib.com>2020-07-16 14:43:50 +0200
commit1c6c40d17c233171c6252503df10da72fd039cf6 (patch)
tree2827f6bf22d6356f8c2103cecfa260608050f67f /app/workers
parent37c092e9fdedd36c167e4b84610e7346c446e1d3 (diff)
parentea13e80030117c95f5e52d730d00093e21b11eea (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/after_unallow_domain_worker.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/workers/after_unallow_domain_worker.rb b/app/workers/after_unallow_domain_worker.rb
new file mode 100644
index 000000000..46049cbb2
--- /dev/null
+++ b/app/workers/after_unallow_domain_worker.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AfterUnallowDomainWorker
+  include Sidekiq::Worker
+
+  def perform(domain)
+    AfterUnallowDomainService.new.call(domain)
+  end
+end