tsk-212: Warning fix

This commit is contained in:
kdeng00
2025-10-21 13:23:19 -04:00
parent 18b64022cf
commit 3742d792ba
+3 -3
View File
@@ -513,7 +513,7 @@ mod helper {
} }
} }
return false; false
} }
} }
@@ -563,10 +563,10 @@ pub mod endpoint {
if !super::helper::is_coverart_file_type_valid(&file_type) { if !super::helper::is_coverart_file_type_valid(&file_type) {
response.message = format!("CoverArt file type not supported: {file_type:?}"); response.message = format!("CoverArt file type not supported: {file_type:?}");
return ( (
axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::http::StatusCode::INTERNAL_SERVER_ERROR,
axum::Json(response), axum::Json(response),
); )
} else { } else {
println!( println!(
"Received file '{}' (name = '{}', content-type = '{}', size = {}, file-type = {})", "Received file '{}' (name = '{}', content-type = '{}', size = {}, file-type = {})",