Commit 45280499 authored by Andrew Austin's avatar Andrew Austin

Fix project_id field in MergeRequest API

parent 21e3d848
...@@ -107,7 +107,8 @@ module API ...@@ -107,7 +107,8 @@ module API
end end
class MergeRequest < Grape::Entity 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 expose :author, :assignee, using: Entities::UserBasic
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment