diff options
| author | mat <git@matdoes.dev> | 2026-01-30 00:02:36 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-30 00:02:36 +0500 |
| commit | 6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103 (patch) | |
| tree | 6e09534e5f9119da4bf0712560bde892b49b5384 /azalea-client/src/account/microsoft.rs | |
| parent | b0d0bd17f5978abb4e69ce5391622799e2185992 (diff) | |
| download | azalea-drasl-6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103.tar.xz | |
warn if pathfinder is running without optimizations, and other minor fixes
Diffstat (limited to 'azalea-client/src/account/microsoft.rs')
| -rw-r--r-- | azalea-client/src/account/microsoft.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/account/microsoft.rs b/azalea-client/src/account/microsoft.rs index 7546ac13..37ca6f05 100644 --- a/azalea-client/src/account/microsoft.rs +++ b/azalea-client/src/account/microsoft.rs @@ -1,8 +1,7 @@ use std::path::PathBuf; use azalea_auth::{ - AccessTokenResponse, - AuthOpts, + AccessTokenResponse, AuthOpts, certs::Certificates, sessionserver::{self, ClientSessionServerError, SessionServerJoinOpts}, }; @@ -117,7 +116,8 @@ impl AccountTrait for MicrosoftAccount { } fn refresh(&self) -> BoxFuture<'_, Result<(), azalea_auth::AuthError>> { Box::pin(async { - let new_account = MicrosoftAccount::new(&self.cache_key, self.auth_opts.clone()).await?; + let new_account = + MicrosoftAccount::new(&self.cache_key, self.auth_opts.clone()).await?; let new_access_token = new_account.access_token().unwrap(); *self.access_token.lock() = new_access_token; Ok(()) |
