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

confidential_issue_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: b29d4168162c5278f76182ddf43dac8e8b75da55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module TodosDestroyer
  class ConfidentialIssueWorker # rubocop:disable Scalability/IdempotentWorker
    include ApplicationWorker
    include TodosDestroyerQueue

    def perform(issue_id = nil, project_id = nil)
      ::Todos::Destroy::ConfidentialIssueService.new(issue_id: issue_id, project_id: project_id).execute
    end
  end
end