diff options
Diffstat (limited to 'app/serializers/label_entity.rb')
-rw-r--r-- | app/serializers/label_entity.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/serializers/label_entity.rb b/app/serializers/label_entity.rb index e586d7f8407..5785715390f 100644 --- a/app/serializers/label_entity.rb +++ b/app/serializers/label_entity.rb @@ -4,7 +4,9 @@ class LabelEntity < Grape::Entity expose :id expose :title - expose :color + expose :color do |label| + label.color.to_s + end expose :description expose :group_id expose :project_id |