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

update_service.rb « labels_service « widgets « work_items « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f00ea5c95ca0270d2239df34a974d9e07ac6c09d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module WorkItems
  module Widgets
    module LabelsService
      class UpdateService < WorkItems::Widgets::BaseService
        def prepare_update_params(params: {})
          return if params.blank?

          service_params.merge!(params.slice(:add_label_ids, :remove_label_ids))
        end
      end
    end
  end
end