diff options
author | Islam Amer <islam.amer@jollamobile.com> | 2013-09-02 15:36:05 +0000 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-08 09:32:00 +0200 |
commit | 29c807ced3303f60379940d34d9724480938e192 (patch) | |
tree | ca5e70fa5ef5fec5bb390ccf4d7e343367977ede /lib | |
parent | 07437ac3d436d427e4e8554f685f09a17d31e171 (diff) | |
download | gitlab-ce-29c807ced3303f60379940d34d9724480938e192.tar.gz |
Expose votes in merge request api
Signed-off-by: Islam Amer <islam.amer@jollamobile.com>
Diffstat (limited to 'lib')
-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 ab949f530ab..b4771eecc7f 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -112,7 +112,7 @@ module API end class MergeRequest < Grape::Entity - expose :id, :target_branch, :source_branch, :title, :state + expose :id, :target_branch, :source_branch, :title, :state, :upvotes, :downvotes expose :target_project_id, as: :project_id expose :author, :assignee, using: Entities::UserBasic end |