2018-07-16 16:31:01 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-29 11:45:15 +00:00
|
|
|
module Labels
|
|
|
|
class BaseService < ::BaseService
|
|
|
|
def convert_color_name_to_hex
|
2022-03-03 00:20:18 +00:00
|
|
|
::Gitlab::Color.of(params[:color])
|
2017-03-29 11:45:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|