aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/account
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/account')
-rw-r--r--azalea-client/src/account/microsoft.rs6
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(())