diff options
| author | mat <git@matdoes.dev> | 2023-12-03 20:31:36 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-03 20:31:36 -0600 |
| commit | 4355e7f74b2bea8a87ef59b8de8123270c53ca09 (patch) | |
| tree | 0988d2e92929bdd8290005f13e9dc4ccc4450fbe /azalea-auth/src/auth.rs | |
| parent | 5910f9bdcf64771da9963e9756212481906fbeb9 (diff) | |
| download | azalea-drasl-4355e7f74b2bea8a87ef59b8de8123270c53ca09.tar.xz | |
clippy
Diffstat (limited to 'azalea-auth/src/auth.rs')
| -rwxr-xr-x | azalea-auth/src/auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index 49f0c34a..68b03306 100755 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -438,7 +438,7 @@ async fn auth_with_xbox_live( Ok(ExpiringValue { data: XboxLiveAuth { token: res.token, - user_hash: res.display_claims["xui"].get(0).unwrap()["uhs"].clone(), + user_hash: res.display_claims["xui"].first().unwrap()["uhs"].clone(), }, expires_at, }) |
