修复:贡献者报错
This commit is contained in:
parent
f4f8e7e5b6
commit
80b42f56d5
|
@ -14,5 +14,5 @@ else
|
|||
json.name user["name"]
|
||||
json.image_url user["avatar_url"]
|
||||
db_user = User.find_by_id(user["id"])
|
||||
json.contribution_perc db_user.contribution_perc(project)
|
||||
json.contribution_perc db_user.contribution_perc(project) if db_user.present?
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue