fixed 代码贡献者email

This commit is contained in:
2023-01-06 11:16:50 +08:00
parent b8af22e3bc
commit 56d9a4f46b
2 changed files with 23 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ json.deletions @result_object["deletions"]
json.commit_count_in_all_branches @result_object["commit_count_in_all_branches"]
json.authors @result_object["authors"].each do |author|
json.author do
json.partial! 'api/v1/users/commit_user', locals: { user: render_cache_commit_author(author), name: author['name'] }
json.partial! 'api/v1/users/commit_user_email', locals: { user: render_cache_commit_author(author), name: author['name'], email: author['email'] }
end
json.commits author["commits"]
json.additions author["additions"]