renamed some variables for clarity

This commit is contained in:
2025-03-27 05:12:30 +01:00
parent 987d6df4c8
commit c2f7bf7a9e

View File

@@ -109,7 +109,7 @@ pub mod packages {
StatusCode::OK => {
let response = response.text()?;
match serde_json::from_str(&response) {
Ok(json) => Ok(json),
Ok(pkgResponse) => Ok(pkgResponse),
Err(e) => {
error!("Failed to deserialize JSON: {}", e);
error!("Response body: {}", response);
@@ -181,7 +181,7 @@ pub mod general {
StatusCode::OK => {
let response = response.text()?;
match serde_json::from_str(&response) {
Ok(json) => Ok(json),
Ok(genResponse) => Ok(genResponse),
Err(e) => {
error!("Failed to deserialize JSON: {}", e);
error!("Response body: {}", response);