async fn fetch_user_marketing_consent(
pool: Data<PgPool>,
course_id: Path<Uuid>,
user: AuthUser,
) -> ControllerResult<Json<Option<UserMarketingConsent>>>
Expand description
GET /api/v0/course-material/courses/:course_id/fetch-user-marketing-consent