OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#564 Implement working functionality for the PUT /assessments/submissions/:submissionId #578

Closed ZeyuanLi16 closed 1 year ago

ZeyuanLi16 commented 1 year ago

Proposed changes

This close #564, implementing the PUT /assessments/submissions/:submissionId. Update a existing submission.

It also includes three new service functions

  1. createSubmissionResponse
  2. updateSubmissionResponse
  3. updateAssessmentSubmission

The route had been manual tested, it successfully update the submission and responses based on roles. But the route and service function tests had not been implemented. Reviews are welcomed!

Checklist