更改:贡献者返回信息
This commit is contained in:
parent
77b3c20e15
commit
c02ea218b3
|
@ -2,13 +2,16 @@ user = $redis_cache.hgetall("v2-owner-common:#{contributor["name"]}-#{contributo
|
|||
if user.blank?
|
||||
json.contributions contributor["commits"]
|
||||
# json.id contributor["id"]
|
||||
json.name contributor["name"]
|
||||
json.login contributor["name"]
|
||||
json.email contributor["email"]
|
||||
json.type nil
|
||||
json.name contributor["name"]
|
||||
json.image_url User::Avatar.get_letter_avatar_url(contributor["name"])
|
||||
else
|
||||
json.contributions contributor["commits"]
|
||||
json.id user["id"]
|
||||
json.login user["login"]
|
||||
json.email user["email"]
|
||||
json.name user["name"]
|
||||
json.type user["type"]
|
||||
json.name user["name"]
|
||||
|
|
Loading…
Reference in New Issue