Skip to main content

hide_course_from_my_courses

Function hide_course_from_my_courses 

Source
async fn hide_course_from_my_courses(
    course_id: Path<Uuid>,
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<()>>
Expand description

POST /api/v0/main-frontend/users/my-courses/:course_id/hide - Hides a course from the authenticated user’s “My courses” list.