FIX entries api bug

This commit is contained in:
Jasder 2020-08-12 18:40:45 +08:00
parent a0789cbd22
commit 0a9fbfd101
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
json.commit do json.commit do
json.sha commit['sha'] json.sha commit['sha']
json.url EduSetting.get('host_name') + commit_repository_path(project.repository, commit['sha']) # json.url EduSetting.get('host_name') + commit_repository_path(project.repository, commit['sha'])
json.message commit['commit']['message'] json.message commit['commit']['message']
json.author commit['commit']['author'] json.author commit['commit']['author']
json.committer commit['commit']['committer'] json.committer commit['commit']['committer']