Function get_courses

Source
async fn get_courses(
    pool: Data<PgPool>,
    user: AuthToken,
) -> ControllerResult<Json<Vec<Course>>>
Expand description
  • GET /api/v0/langs/courses
  • Returns the courses that the user is currently enrolled on that contain TMC exercises.