aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/account.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-12-08 18:39:35 -0600
committermat <github@matdoes.dev>2022-12-08 18:39:35 -0600
commit70e2dfed16da8d5130460ea15b47701e622f4a9f (patch)
tree41f670baf3a05ed180880ec2a11d8e5f6a1a1599 /azalea-client/src/account.rs
parentf2076daba5cfcce81399b075ba9258fbdc2012fa (diff)
downloadazalea-drasl-70e2dfed16da8d5130460ea15b47701e622f4a9f.tar.xz
wrap_comments = true
Diffstat (limited to 'azalea-client/src/account.rs')
-rwxr-xr-xazalea-client/src/account.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs
index 0d758507..d1c20cc8 100755
--- a/azalea-client/src/account.rs
+++ b/azalea-client/src/account.rs
@@ -104,7 +104,8 @@ impl Account {
AuthOpts::Microsoft { email } => {
let new_account = Account::microsoft(email).await?;
let access_token = self
- .access_token.as_ref()
+ .access_token
+ .as_ref()
.expect("Access token should always be set for Microsoft accounts");
let new_access_token = new_account
.access_token