Merge branch 'develop' into trustie_server

This commit is contained in:
jasder 2021-04-20 19:07:56 +08:00
commit 81743ce3bc
2 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@ else
json.id nil json.id nil
json.login name json.login name
json.name name json.name name
json.image_url User.get_letter_avatar_url(name) json.image_url User::Avatar.get_letter_avatar_url(name)
end end

View File

@ -26,7 +26,7 @@ else
json.login commit['commit']['author']['name'] json.login commit['commit']['author']['name']
json.type nil json.type nil
json.name commit['commit']['author']['name'] json.name commit['commit']['author']['name']
json.image_url User.get_letter_avatar_url(commit['commit']['author']['name']) json.image_url User::Avatar.get_letter_avatar_url(commit['commit']['author']['name'])
end end
end end
end end