Skip to main content

exercise_has_answer_files

Function exercise_has_answer_files 

Source
async fn exercise_has_answer_files(
    pool: Data<PgPool>,
    exercise_id: Path<Uuid>,
    user: AuthUser,
) -> ControllerResult<Json<bool>>
Expand description

GET /api/v0/main-frontend/exercises/:exercise_id/has-answer-files - Tells whether the exercise has any file-typed answer to download.