mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
新增:返回是否有合并请求字段
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
json.total_count @result_object[:total_data].to_i
|
||||
json.branches @result_object[:data].each do |branch|
|
||||
json.partial! "api/v1/projects/branches/simple_gitea_detail", branch: branch, default_branch: @result_object[:default_branch]
|
||||
|
||||
json.has_pull_request @project.has_pull_request(branch['name'])
|
||||
end
|
||||
Reference in New Issue
Block a user