2021-05-12 12:10:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Issuable
|
|
|
|
class LabelLinksDestroyWorker
|
|
|
|
include ApplicationWorker
|
|
|
|
|
2021-07-21 12:09:35 +00:00
|
|
|
data_consistency :always
|
|
|
|
|
2021-05-12 12:10:24 +00:00
|
|
|
idempotent!
|
2021-10-27 15:13:41 +00:00
|
|
|
feature_category :team_planning
|
2021-05-12 12:10:24 +00:00
|
|
|
|
|
|
|
def perform(target_id, target_type)
|
|
|
|
::Issuable::DestroyLabelLinksService.new(target_id, target_type).execute
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|