FIX update repositories api

This commit is contained in:
Jasder
2020-03-20 20:15:43 +08:00
parent 551bae911e
commit 3e2b417cce
12 changed files with 83 additions and 62 deletions

View File

@@ -5,6 +5,6 @@ json.commits do
json.message commit['commit']['message']
json.timestamp render_unix_time(commit['commit']['author']['date'])
json.time_from_now time_from_now(commit['commit']['author']['date'])
json.partial! 'author', user: @repo.user
json.partial! 'author', user: @project.user
end
end