tsk-213: Identify audio file type in initial step when queueing #225

Merged
kdeng00 merged 7 commits from tsk-213 into main 2025-10-29 14:58:34 -04:00
Showing only changes of commit 7aead9399c - Show all commits
+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 {