Cleanup and code formatting

This commit is contained in:
kdeng00
2025-08-28 13:03:21 -04:00
parent 5716046e34
commit 2d06f8f0b9
3 changed files with 24 additions and 33 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ fn retrieve_url_with_id(api: &models::api::Api, id: &uuid::Uuid) -> String {
url
}
pub async fn auth_header(token: &icarus_models::token::AccessToken) -> (http::HeaderName, http::HeaderValue) {
pub async fn auth_header(
token: &icarus_models::token::AccessToken,
) -> (http::HeaderName, http::HeaderValue) {
let auth = reqwest::header::AUTHORIZATION;
let auth_value = http::HeaderValue::from_str(&token.bearer_token()).unwrap();