gitlab-org--gitlab-foss/app/services/labels/base_service.rb

9 lines
174 B
Ruby

# frozen_string_literal: true
module Labels
class BaseService < ::BaseService
def convert_color_name_to_hex
::Gitlab::Color.of(params[:color])
end
end
end