summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorRares Sfirlogea <rrr.junior@gmail.com>2016-11-04 12:52:38 +0100
committerRares Sfirlogea <rrr.junior@gmail.com>2016-11-07 15:09:33 +0100
commit63f0b099744834424e6fef78c694beda9d8b16fe (patch)
tree0a9351a424aa8d496654e627bbb0d95f4e3cccdd /lib/api
parent717b8a769245d5255adc70c0cac78fa148b38778 (diff)
downloadgitlab-ce-63f0b099744834424e6fef78c694beda9d8b16fe.tar.gz
Expose Label id to API
[e44da1c] Add Label API expected keys to tests [ac929c8] Update Label API documentation
Diffstat (limited to 'lib/api')
-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