FIX git single commit api bug

This commit is contained in:
Jasder 2020-06-01 14:40:51 +08:00
parent 5a887fdd66
commit 37fa25d57d
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ json.commit do
@commit['commit'].delete('url')
json.author @commit['commit']['author']
json.committer @commit['commit']['committer']
json.message @commit['commit']['message']
json.tree do
@commit['commit']['tree']['sha']
end