WIP: Updated multiple readmes and auto build scripts

This commit is contained in:
brotoskyj
2025-11-04 10:27:17 -05:00
parent 098a40a1c0
commit 09573a163e
5 changed files with 8 additions and 105 deletions
+3 -3
View File
@@ -144,9 +144,9 @@ async fn history_logging(
let parsed: Value = serde_json::from_str(headers_replace.as_str()).unwrap();
let mut header_map = HeaderMap::new();
if let Some(obj) = parsed.as_object() {
for (key, value) in obj {
for (_key, value) in obj {
if let Some(v) = value.as_str() {
let val = HeaderValue::from_str(v).unwrap();
let val = HeaderValue::from_str(v).unwrap();
header_map.insert(HeaderName::from_str("X-APIKey").unwrap(), val);
}
}
@@ -176,7 +176,7 @@ async fn history_logging(
.expect("Failed to retrieve response from API");
return first_response;
}
Err(res) => {
Err(_res) => {
let failed_response: ApiResponse = ApiResponse {
error: "Failed".to_string(),
response: ExecHistories {