Function headless_lms_server::controllers::course_material::exams::update_show_exercise_answers
source · pub async fn update_show_exercise_answers(
pool: Data<PgPool>,
exam_id: Path<Uuid>,
user: AuthUser,
payload: Json<ShowExerciseAnswers>
) -> ControllerResult<Json<()>>
Expand description
GET /api/v0/course-material/exams/:id/update-show-exercise-answers
Used for testing an exam, updates wheter exercise answers are shown.