response forks list user mail

This commit is contained in:
呱呱呱 2023-07-19 16:48:29 +08:00
parent ab3cf745e8
commit 39825e9e02
1 changed files with 1 additions and 0 deletions

View File

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