上传文件返回pull_request_id

This commit is contained in:
sylor_huang@126.com
2020-06-05 10:57:46 +08:00
parent ba93347df8
commit c5c3294bda
6 changed files with 6 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ json.sha @file['content']['sha']
json.size @file['content']['size']
json.content @file['content']['content']
json.encoding @file['content']['encoding']
json.pr_id @pull_issue.try(:id)
json.commit do
json.message @file['commit']['message']
json.author @file['commit']['author']

View File

@@ -3,6 +3,7 @@ json.sha @file['content']['sha']
json.size @file['content']['size']
json.content @file['content']['content']
json.encoding @file['content']['encoding']
json.pr_id @pull_issue.try(:id)
json.commit do
json.message @file['commit']['message']
json.author @file['commit']['author']