Code formatting

This commit is contained in:
kdeng00
2025-08-27 16:18:31 -04:00
parent 65d0e35c85
commit ea723d87f2
+2 -3
View File
@@ -17,7 +17,7 @@ impl APIParser {
pub fn retrieve_api(&self, api_type: APIType) -> models::api::Api { pub fn retrieve_api(&self, api_type: APIType) -> models::api::Api {
match api_type { match api_type {
APIType::Main => self.apis[0].clone(), APIType::Main => self.apis[0].clone(),
APIType::Auth => self.apis[1].clone() APIType::Auth => self.apis[1].clone(),
} }
} }
@@ -39,7 +39,7 @@ impl APIParser {
} }
break; break;
} }
}, }
APIType::Auth => { APIType::Auth => {
if arg == "-ha" { if arg == "-ha" {
if value.chars().nth(value.len() - 1) == Some('/') { if value.chars().nth(value.len() - 1) == Some('/') {
@@ -51,7 +51,6 @@ impl APIParser {
} }
} }
} }
} }
// for api in self.apis { // for api in self.apis {