Welcome to mirror list, hosted at ThFree Co, Russian Federation.

private_features_worker.rb « todos_destroyer « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6e55467234a4d4ded1137c996d769396721632d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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