Function collect_course_modules

Source
fn collect_course_modules(
    course_modules: Vec<CourseModule>,
    chapters: Vec<ChapterWithStatus>,
) -> ControllerResult<Vec<CourseMaterialCourseModule>>
Expand description

Combines course modules and chapters, consuming them.