FIX [api] get pull bug

This commit is contained in:
Jasder
2021-01-12 17:34:07 +08:00
parent f084b72e3a
commit fa01194d3c
2 changed files with 19 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
json.partial! "commons/success"
json.project_name @project.name
json.identifier @project.identifier
json.pr_time time_from_now(@pull_request.updated_at)
json.commits_count @pull_request.commits_count
json.files_count @pull_request.files_count