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

module Issuable
  class LabelLinksDestroyWorker
    include ApplicationWorker

    data_consistency :always

    idempotent!
    feature_category :team_planning

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