Commit 8b228dd6 by Vik Paruchuri Committed by Vik Paruchuri

Fix bad key naming

parent 306649f6
......@@ -445,7 +445,8 @@ class PeerGradingModule(PeerGradingFields, XModule):
data_dict = {k:data.get(k) for k in required}
data_dict['rubric_scores'] = data_dict['rubric_scores[]']
data_dict['grader_id'] = self.system.anonymous_student_id
data_dict['student_id'] = self.system.anonymous_student_id
data_dict['calibration_essay_id'] = data_dict['submission_id']
try:
response = self.peer_gs.save_calibration_essay(**data_dict)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment