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