Fix project_id field in MergeRequest API

This commit is contained in:
Andrew Austin 2013-08-27 01:54:09 +00:00
parent 21e3d848b4
commit 45280499b8
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ module API
end
class MergeRequest < Grape::Entity
expose :id, :target_branch, :source_branch, :project_id, :title, :state
expose :id, :target_branch, :source_branch, :title, :state
expose :target_project_id, as: :project_id
expose :author, :assignee, using: Entities::UserBasic
end