about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-16 15:01:13 +0200
committerGitHub <noreply@github.com>2020-07-16 15:01:13 +0200
commit801e546ecc1efb4103232d8265229eb455a8dd5b (patch)
tree4bfd6ec330f01a7187dd643d709eda81137c40a7 /app/workers
parent37c092e9fdedd36c167e4b84610e7346c446e1d3 (diff)
parentf94cb947671add34feb13d8d85a67260d2f699a9 (diff)
Merge pull request #1383 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
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