fix: not show commiter avatar

This commit is contained in:
2021-03-30 16:34:12 +08:00
parent d7a459bad2
commit d0a65775aa
6 changed files with 19 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
json.author do
if @project.forge?
json.id user.id
json.login user.login
json.type user&.type
json.name user.real_name