summaryrefslogtreecommitdiff
path: root/app/workers/issuable/label_links_destroy_worker.rb
blob: f663c410fba8be5d64872a114500a9258a111f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Issuable
  class LabelLinksDestroyWorker
    include ApplicationWorker

    idempotent!
    feature_category :issue_tracking

    def perform(target_id, target_type)
      ::Issuable::DestroyLabelLinksService.new(target_id, target_type).execute
    end
  end
end