mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX code bug
This commit is contained in:
@@ -7,5 +7,5 @@ else
|
||||
json.id nil
|
||||
json.login name
|
||||
json.name name
|
||||
json.image_url User.get_letter_avatar_url(name)
|
||||
json.image_url User::Avatar.get_letter_avatar_url(name)
|
||||
end
|
||||
|
||||
@@ -26,7 +26,7 @@ else
|
||||
json.login commit['commit']['author']['name']
|
||||
json.type nil
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user