Normalize masquerade response data

so that it's easier to work with on the frontend.
This commit is contained in:
stvn
2020-07-13 01:25:17 -07:00
parent 062eb3e82c
commit ab8bcccd01

View File

@@ -103,7 +103,7 @@ class MasqueradeView(View):
'course_key': course_key_string,
'group_id': course.group_id,
'role': course.role,
'user_name': course.user_name or ' ',
'user_name': course.user_name or None,
'user_partition_id': course.user_partition_id,
},
'available': [