diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-07 19:21:00 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-11-07 19:21:00 +0300 |
commit | 93f4234d59ac14cce5e3210d6325b48eea569c0e (patch) | |
tree | 716ce2c0f72c2a42ac693657e096af3311e70a56 /lib | |
parent | 6f307295ac792941f203381de377de7fb1c6b38a (diff) | |
parent | 63f0b099744834424e6fef78c694beda9d8b16fe (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.rb | 2 |
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 |