1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-01-27 01:52:55 -05:00
Claire 7f803c41e2
Add ability to purge undeliverable domains from admin interface ()
* Add ability to purge undeliverable domains from admin interface

* Add tests
2021-12-17 23:01:21 +01:00

10 lines
161 B
Ruby

# frozen_string_literal: true
class Admin::DomainPurgeWorker
include Sidekiq::Worker
def perform(domain)
PurgeDomainService.new.call(domain)
end
end