diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-03-12 12:55:02 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-07-09 11:24:28 -0400 |
commit | dd4fee5fdbda07fbc09234c4b043c3c9939a6a9b (patch) | |
tree | 391f6f0216ddfbcffd5aec21877cad1ea97f6221 /lib/api/entities.rb | |
parent | 36f3e2062ded8b8b64cc5b724258e1ce95348ef5 (diff) | |
download | gitlab-ce-dd4fee5fdbda07fbc09234c4b043c3c9939a6a9b.tar.gz |
api: add 'system', 'upvote', and 'downvote' fields to note queries
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 31202fa8c1f..27d60e881ec 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -190,6 +190,9 @@ module API expose :attachment_identifier, as: :attachment expose :author, using: Entities::UserBasic expose :created_at + expose :system + expose :upvote?, as: :upvote + expose :downvote?, as: :downvote end class MRNote < Grape::Entity |