glitch-social/app/workers/glitch/apply_keyword_mutes_worker.rb

14 lines
271 B
Ruby

# frozen_string_literal: true
module Glitch
class ApplyKeywordMutesWorker
include Sidekiq::Worker
sidekiq_options unique: :until_executed
def perform(account_id)
Glitch::ApplyKeywordMutesService.new.call(Account.find(account_id))
end
end
end