debian-mirror-gitlab/app/workers/todos_destroyer/private_features_worker.rb
2020-04-08 14:13:33 +05:30

13 lines
334 B
Ruby

# frozen_string_literal: true
module TodosDestroyer
class PrivateFeaturesWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
include TodosDestroyerQueue
def perform(project_id, user_id = nil)
::Todos::Destroy::PrivateFeaturesService.new(project_id, user_id).execute
end
end
end