Skip to main content

fetch_account

Function fetch_account 

Source
pub async fn fetch_account(user_id: Uuid) -> Result<Option<Account>, CmdError>
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

CmdError::Server when the directory is unreachable.