pub async fn choose_my_certificate(
user: AuthUser,
pool: Data<PgPool>,
course_module_id: Path<Uuid>,
) -> ControllerResult<Json<MyEnrolmentRoute>>Expand description
POST /api/v0/main-frontend/credit-registrations/my/by-course-module/{course_module_id}/enrolment-route/certificate-choice
- The caller takes the certificate instead of registering credits.
Advisory like the other answers: the pipeline still registers the completion.