mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
fixed 贡献者匹配用户email,名称区分
This commit is contained in:
@@ -16,7 +16,7 @@ if user.present?
|
||||
json.login user.login
|
||||
json.email user.mail
|
||||
json.type user.type
|
||||
json.name user.real_name
|
||||
json.name (user["name"] || contributor["name"] || contributor["login"]).to_s.downcase
|
||||
json.image_url url_to_avatar(user)
|
||||
json.contribution_perc user.simple_contribution_perc(project, contributor["contribution_perc"]) if user.present?
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user