diff options
author | Jan <king-jan1999@hotmail.de> | 2018-06-13 10:28:27 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-06-13 10:28:27 +0000 |
commit | 4077d4f735ed40b7a62baa35464677813c3b6784 (patch) | |
tree | 93280f31285f3ed0a334e53f5ed06d1f646ef262 /lib/api | |
parent | a0a6e38b68e02b2e5f3336f14b0d3266d9aadc89 (diff) | |
download | gitlab-ce-4077d4f735ed40b7a62baa35464677813c3b6784.tar.gz |
Resolve "Provide ability to retrieve `visibility` level via Snippets API"
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 3395d53b363..1cc8fcb8408 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -362,7 +362,7 @@ module API end class Snippet < Grape::Entity - expose :id, :title, :file_name, :description + expose :id, :title, :file_name, :description, :visibility expose :author, using: Entities::UserBasic expose :updated_at, :created_at expose :project_id |