新增:合并请求编辑返回关联issue数据
This commit is contained in:
parent
2d7a0ef2e1
commit
7fc373e259
|
@ -12,4 +12,7 @@ json.issue_tag_ids @issue&.issue_tags_value&.split(",")
|
|||
json.commits_count @pull_request.commits_count
|
||||
json.files_count @pull_request.files_count
|
||||
json.comments_count @pull_request.comments_count
|
||||
json.reviewers @pull_request.reviewers.pluck(:login)
|
||||
json.reviewers @pull_request.reviewers.pluck(:login)
|
||||
json.attached_issues @pull_request.attached_issues.each do |issue|
|
||||
json.(issue, :id, :subject, :project_issues_index)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue