1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-21 01:59:10 +09:00
YuruToot/app/workers/after_unallow_domain_worker.rb
ThibG d658af7ff8
Fix removing allowed domains being done synchronously (#14302)
* Fix removing allowed domains being done synchronously

* Add tests
2020-07-15 21:08:19 +02:00

10 lines
168 B
Ruby

# frozen_string_literal: true
class AfterUnallowDomainWorker
include Sidekiq::Worker
def perform(domain)
AfterUnallowDomainService.new.call(domain)
end
end