mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
fix typo in auth docs
This commit is contained in:
parent
af818b3b58
commit
f114c78dba
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ pub enum AuthError {
|
||||||
///
|
///
|
||||||
/// If you want to use your own code to cache or show the auth code to the user
|
/// If you want to use your own code to cache or show the auth code to the user
|
||||||
/// in a different way, use [`get_ms_link_code`], [`get_ms_auth_token`],
|
/// in a different way, use [`get_ms_link_code`], [`get_ms_auth_token`],
|
||||||
/// [`get_minecraft_token`] and [`get_profile`] instead instead.
|
/// [`get_minecraft_token`] and [`get_profile`] instead.
|
||||||
pub async fn auth(email: &str, opts: AuthOpts) -> Result<AuthResult, AuthError> {
|
pub async fn auth(email: &str, opts: AuthOpts) -> Result<AuthResult, AuthError> {
|
||||||
let cached_account = if let Some(cache_file) = &opts.cache_file {
|
let cached_account = if let Some(cache_file) = &opts.cache_file {
|
||||||
cache::get_account_in_cache(cache_file, email).await
|
cache::get_account_in_cache(cache_file, email).await
|
||||||
|
|
Loading…
Add table
Reference in a new issue