pub async fn fetch_account(
user_id: Uuid,
) -> Result<Option<Account>, ConfigError>Expand description
Fetches an account and its serving status.
The one read every authenticated request already performs, kept in this
crate: web must not open its own connection to the directory.
ยงErrors
ConfigError::DB when the directory is unreachable.