headless_lms_models::study_registry_registrars

Function get_by_secret_key

Source
pub async fn get_by_secret_key(
    conn: &mut PgConnection,
    secret_key: &str,
) -> ModelResult<StudyRegistryRegistrar>