Function get_all_chapters_by_course_id

Source
async fn get_all_chapters_by_course_id(
    course_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<Json<Vec<DatabaseChapter>>>
Expand description

GET `/api/v0/main-frontend/chapters/{course_id}/all-chapters-for-course - Gets all chapters with a course_id