parent
5ec53d0961
commit
d00402730f
@ -1,7 +1,7 @@
|
||||
json.course_members @course_members.each do |member|
|
||||
user = member.user
|
||||
json.user_login user.login
|
||||
json.user_name user.real_name
|
||||
user = User.find_by(id: member.user_id)
|
||||
json.user_login user&.login
|
||||
json.user_name user&.real_name
|
||||
# json.course_group member.course_group_name
|
||||
json.total_score member.score
|
||||
end
|
Loading…
Reference in new issue