pub async fn post_new_chapter_ordering(
    course_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
    payload: Json<Vec<Chapter>>
) -> ControllerResult<Json<()>>
Expand description

POST /api/v0/main-frontend/courses/:id/new-chapter-ordering - Reorders chapters based on modified chapter number.#

Creates redirects if url_path changes.