Function headless_lms_models::offered_answers_to_peer_review_temporary::delete_saved_submissions_for_user
source · pub async fn delete_saved_submissions_for_user(
conn: &mut PgConnection,
exercise_id: Uuid,
user_id: Uuid,
course_instance_id: Uuid
) -> ModelResult<()>
Expand description
For clearing the table after the user has given a peer review so that they can receive a new submission to be reviewed