summaryrefslogtreecommitdiff
path: root/app/serializers/label_serializer.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-14 09:08:46 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-14 09:08:46 +0000
commit6035fcc36ead3b415fa2422b0204a795a70f3e2f (patch)
tree011ffa756aa74a83dd1b6d5da5edb0380f4c52a2 /app/serializers/label_serializer.rb
parent4a159b9f98bf1c1a62035ea42e8ba56cafb48d98 (diff)
downloadgitlab-ce-6035fcc36ead3b415fa2422b0204a795a70f3e2f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers/label_serializer.rb')
-rw-r--r--app/serializers/label_serializer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/label_serializer.rb b/app/serializers/label_serializer.rb
index 25b9f7de243..b09592da67f 100644
--- a/app/serializers/label_serializer.rb
+++ b/app/serializers/label_serializer.rb
@@ -4,6 +4,6 @@ class LabelSerializer < BaseSerializer
entity LabelEntity
def represent_appearance(resource)
- represent(resource, { only: [:id, :title, :color, :text_color] })
+ represent(resource, { only: [:id, :title, :color, :text_color, :project_id] })
end
end