diff options
Diffstat (limited to 'azalea-auth/src')
| -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, }) |
