diff options
author | Rares Sfirlogea <rrr.junior@gmail.com> | 2016-11-04 12:52:38 +0100 |
---|---|---|
committer | Rares Sfirlogea <rrr.junior@gmail.com> | 2016-11-07 15:09:33 +0100 |
commit | 63f0b099744834424e6fef78c694beda9d8b16fe (patch) | |
tree | 0a9351a424aa8d496654e627bbb0d95f4e3cccdd /lib/api | |
parent | 717b8a769245d5255adc70c0cac78fa148b38778 (diff) | |
download | gitlab-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.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 |