From 29c807ced3303f60379940d34d9724480938e192 Mon Sep 17 00:00:00 2001 From: Islam Amer Date: Mon, 2 Sep 2013 15:36:05 +0000 Subject: Expose votes in merge request api Signed-off-by: Islam Amer --- lib/api/entities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api/entities.rb') 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 -- cgit v1.2.1