get_course_enrollments_for_user

Function get_course_enrollments_for_user 

Source
pub async fn get_course_enrollments_for_user(
    user_id: Path<Uuid>,
    pool: Data<PgPool>,
    auth_user: AuthUser,
) -> ControllerResult<Json<CourseEnrollmentsInfo>>
Expand description

GET /api/v0/main-frontend/users/:id/course-enrollments