async fn get_course(
pool: Data<PgPool>,
user: UserFromTMCAccessToken,
course: Path<Uuid>,
) -> ControllerResult<Json<Course>>Expand description
- GET /api/v0/langs/courses/:id
- Returns the course with the given id.
async fn get_course(
pool: Data<PgPool>,
user: UserFromTMCAccessToken,
course: Path<Uuid>,
) -> ControllerResult<Json<Course>>