FIX sync mirror api bug

This commit is contained in:
Jasder
2020-06-02 15:00:05 +08:00
parent ffa4a948ee
commit 15e90e95cc
2 changed files with 5 additions and 10 deletions
+1 -2
View File
@@ -9,8 +9,7 @@ else
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: @project.owner
json.partial! 'author', user: @project_owner.owner
end
end
end