Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 975c41b

Browse files
committed
chore: removed debugs
1 parent 194f7a7 commit 975c41b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/custom/mojang.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ pub struct AuthInfo {
4646
#[derive(Debug, Deserialize)]
4747
struct MojangResponse {
4848
username: String,
49-
roles: Vec<String>,
5049
access_token: String,
5150
token_type: String,
5251
expires_in: i32,
@@ -77,9 +76,6 @@ async fn tokeninternal(client: Client, body: Value) -> Result<AuthInfo, Box<dyn
7776
println!("Sorry, we ran into an error in authentication.");
7877
return Err("Invalid token type".into());
7978
}
80-
81-
println!("{:?}", response);
82-
8379
let access_token = response.access_token;
8480
let uuid = response.username;
8581
let expires_in = response.expires_in; // Ensure this is correctly set to the expiration time

0 commit comments

Comments
 (0)