Function headless_lms_server::controllers::main_frontend::users::get_my_courses
source · async fn get_my_courses(
user: AuthUser,
pool: Data<PgPool>
) -> ControllerResult<Json<Vec<Course>>>
Expand description
GET /api/v0/main-frontend/users/my-courses
- Gets all the courses the user has either started or gotten a permission to.