Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-11-07 19:21:00 +0300
committerSean McGivern <sean@mcgivern.me.uk>2016-11-07 19:21:00 +0300
commit93f4234d59ac14cce5e3210d6325b48eea569c0e (patch)
tree716ce2c0f72c2a42ac693657e096af3311e70a56 /lib
parent6f307295ac792941f203381de377de7fb1c6b38a (diff)
parent63f0b099744834424e6fef78c694beda9d8b16fe (diff)
Merge branch 'add-api-label-id' into 'master'
Expose Label id to API Closes #23448 See merge request !7275
Diffstat (limited to 'lib')
-rw-r--r--lib/api/entities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 9dd36ec969e..1942aeea656 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -433,7 +433,7 @@ module API
end
class LabelBasic < Grape::Entity
- expose :name, :color, :description
+ expose :id, :name, :color, :description
end
class Label < LabelBasic