Open hbarrett opened 2 years ago
For the /api/submit_survey route add all numeric answers from the default survey to the "ratings" array in the learning resource for that survey.
The value written to the "ratings" array will be an average of all answers to a single response. For example if there were 2 responses, then the "ratings" array might look like this: [2.3,3.4]
For the /api/submit_survey route add all numeric answers from the default survey to the "ratings" array in the learning resource for that survey.