pub async fn set_route(
conn: &mut PgConnection,
course_module_completion_id: Uuid,
user_id: Uuid,
route: CreditRegistrationEnrolmentRoute,
) -> ModelResult<EnrolmentRouteAnswer>Expand description
Records the student’s answer, replacing any earlier one.
Changing the answer clears the Done that went with it: the confirmation was about enrolling the way the old answer described, and it says nothing about the new one.