From 7d140e5f0c70d45debc2fa3bc182e519607f3de8 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 29 Oct 2022 14:33:53 -0500 Subject: ClientboundContainerClosePacket --- azalea-auth/src/auth.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'azalea-auth/src') diff --git a/azalea-auth/src/auth.rs b/azalea-auth/src/auth.rs index 0b043baf..b7f834d4 100644 --- a/azalea-auth/src/auth.rs +++ b/azalea-auth/src/auth.rs @@ -444,10 +444,7 @@ async fn check_ownership( ) -> Result { let res = client .get("https://api.minecraftservices.com/entitlements/mcstore") - .header( - "Authorization", - format!("Bearer {minecraft_access_token}"), - ) + .header("Authorization", format!("Bearer {minecraft_access_token}")) .send() .await? .json::() @@ -472,10 +469,7 @@ async fn get_profile( ) -> Result { let res = client .get("https://api.minecraftservices.com/minecraft/profile") - .header( - "Authorization", - format!("Bearer {minecraft_access_token}"), - ) + .header("Authorization", format!("Bearer {minecraft_access_token}")) .send() .await? .json::() -- cgit v1.2.3