debian-mirror-gitlab/app/services/labels/base_service.rb
2022-05-07 20:08:51 +05:30

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