headless_lms_server::controllers::main_frontend::users

Function get_research_consent_by_user_id

Source
pub async fn get_research_consent_by_user_id(
    user: AuthUser,
    pool: Data<PgPool>,
) -> ControllerResult<Json<UserResearchConsent>>
Expand description

GET /api/v0/main-frontend/users/get-user-research-consent - Gets users research consent.