Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
TgZ39 committed May 6, 2024
1 parent 4641bca commit 82d9ffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auth/o_auth/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::auth::AuthType;
use crate::client::EXPIRATION_TIME_BUFFER;
use crate::request::metadata::MetaData;
use crate::request::HttpMethod;
Expand All @@ -7,7 +8,6 @@ use reqwest::header::HeaderValue;
use reqwest::{Client, Response};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use crate::auth::AuthType;

const O_AUTH_URL: &str = "https://api.trackmania.com/api/access_token";

Expand Down
3 changes: 2 additions & 1 deletion src/client/client_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ impl NadeoClientBuilder {
}
};
// execute requests
let (normal_auth_res, live_auth_res, oauth_res) = join3(normal_auth_future, live_auth_future, oauth_future).await;
let (normal_auth_res, live_auth_res, oauth_res) =
join3(normal_auth_future, live_auth_future, oauth_future).await;

let mut normal_auth = None;
let mut live_auth = None;
Expand Down

0 comments on commit 82d9ffc

Please sign in to comment.