forked from Trustie/forgeplus
修复:无字段信息移除
This commit is contained in:
parent
d25a017a76
commit
4b15d42418
|
|
@ -1,6 +1,6 @@
|
|||
json.total_count @pull_requests.total_count
|
||||
json.pull_requests @pull_requests.map do |pull_request|
|
||||
json.extract! pull_request, :id, :title, :description, :created_at, :updated_at
|
||||
json.extract! pull_request, :id, :title, :body, :head, :base, :is_original, :fork_project_id, :created_at, :updated_at
|
||||
json.project do
|
||||
json.partial! "api/v1/projects/detail", project: pull_request.project
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue