Skip to main content

my_enrolment_route

Function my_enrolment_route 

Source
fn my_enrolment_route(
    course_module_completion_id: Uuid,
    answer: Option<EnrolmentRouteAnswer>,
    can_change: bool,
) -> MyEnrolmentRoute
Expand description

Kept apart from build_my_enrolment_route so a write can answer from the row it already returned, instead of reading the completion and the registration back a second time.