pub async fn reset_exercises_for_selected_users(
course_id: Path<Uuid>,
pool: Data<PgPool>,
user: AuthUser,
payload: Json<ResetExercisesPayload>,
) -> ControllerResult<Json<i32>>
Expand description
POST /api/v0/main-frontend/exercises/:course_id/reset-exercises-for-selected-users
- Resets all selected exercises for selected users and then logs the resets to exercise_reset_logs table