Function headless_lms_models::library::copying::copy_course_chapters
source · async fn copy_course_chapters(
tx: &mut PgConnection,
namespace_id: Uuid,
parent_course_id: Uuid
) -> ModelResult<()>
Expand description
After this one set_chapter_front_pages
needs to be called to get these to point to the correct front pages.