修复:无字段信息移除

This commit is contained in:
yystopf 2025-11-05 14:45:39 +08:00
parent d25a017a76
commit 4b15d42418
1 changed files with 1 additions and 1 deletions

View File

@ -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