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.
pub async fn get_research_consent_by_user_id(
user: AuthUser,
pool: Data<PgPool>,
) -> ControllerResult<Json<UserResearchConsent>>
GET /api/v0/main-frontend/users/get-user-research-consent
- Gets users research consent.