新增:项目是否创建了pr参数

This commit is contained in:
yystopf 2023-03-28 15:51:51 +08:00
parent 01467a3d2a
commit 4bf14974df
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ json.user_admin_or_developer @user_admin_or_developer
json.project_name @project.name
json.project_author @project.owner.try(:login)
json.project_author_name @project.owner.try(:show_real_name)
json.has_created_pull_requests @project.pull_requests.size > 0
json.issues do
json.array! @issues.to_a do |issue|