tsk-213: Warning fix

This commit is contained in:
kdeng00
2025-10-29 14:43:40 -04:00
parent 8cc3d64d42
commit 7aead9399c
+4 -4
View File
@@ -431,18 +431,18 @@ pub mod endpoint {
} }
} else { } else {
response.message = String::from("Invalid song type"); response.message = String::from("Invalid song type");
return ( (
axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::http::StatusCode::INTERNAL_SERVER_ERROR,
axum::Json(response), axum::Json(response),
); )
} }
} }
Err(err) => { Err(err) => {
response.message = err.to_string(); response.message = err.to_string();
return ( (
axum::http::StatusCode::INTERNAL_SERVER_ERROR, axum::http::StatusCode::INTERNAL_SERVER_ERROR,
axum::Json(response), axum::Json(response),
); )
} }
} }
} else { } else {