Merge pull request '根据需求返回fork list 中的user mail' (#88) from KingChan/forgeplus:chenjing into standalone_develop

This commit is contained in:
KingChan 2023-07-19 16:49:53 +08:00
commit d871c45fca
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ json.user do
json.type @user.type json.type @user.type
json.name @user.real_name json.name @user.real_name
json.login @user.login json.login @user.login
json.mail @user.mail
json.image_url url_to_avatar(@user) json.image_url url_to_avatar(@user)
json.forked Project.exists?(user_id: @user.id, forked_from_project_id: @project.id) json.forked Project.exists?(user_id: @user.id, forked_from_project_id: @project.id)
end end