Function get_all_thresholds

Source
async fn get_all_thresholds(
    user: AuthUser,
    params: Path<Uuid>,
    pool: Data<PgPool>,
) -> ControllerResult<Json<Vec<Threshold>>>
Expand description

GET /api/v0/main-frontend/courses/${course.id}/thresholds - get all thresholds for all modules in a course.