Browse Source

Add PR identifier

tags/v1.0.0
sylor_huang@126.com 5 years ago
parent
commit
81c29e4cc2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/views/pull_requests/index.json.jbuilder

+ 1
- 0
app/views/pull_requests/index.json.jbuilder View File

@@ -19,6 +19,7 @@ json.issues do
json.pull_request_staus pr.status == 1 ? "merged" : (pr.status == 2 ? "closed" : "open")
json.is_original pr.is_original
json.fork_project_id pr&.fork_project_id
json.fork_project_identifier pr&.fork_project&.identifier
json.fork_project_user pr&.fork_project&.owner.try(:login)



Loading…
Cancel
Save