diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-08-12 22:39:58 +0300 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-08-13 00:02:33 +0300 |
commit | 95f8f7c729a3a14ca6408ac050eb7bef6bb6fec4 (patch) | |
tree | a6704cd9812cf06af256033dd7b64d23ae05f0d1 /lib/api | |
parent | cd579cb2ff45f3fc1513bb6ea74b53a2229276ae (diff) |
api: add 'system', 'upvote', and 'downvote' fields to note queries
This reverts commit 4c586dc7c217b3e43956919fa752a8fa4e16acb9.
Diffstat (limited to 'lib/api')
-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 b5556682449..09d231af41b 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -205,6 +205,9 @@ module API expose :attachment_identifier, as: :attachment expose :author, using: Entities::UserBasic expose :created_at + expose :system?, as: :system + expose :upvote?, as: :upvote + expose :downvote?, as: :downvote end class MRNote < Grape::Entity |