tsk-179: Code formatting

This commit is contained in:
kdeng00
2025-10-29 15:06:37 -04:00
parent 72ea822f57
commit d868b60a30
+6 -3
View File
@@ -163,14 +163,17 @@ pub mod endpoint {
&file_name, &file_name,
&crate::repo::queue::song::status::PENDING.to_string(), &crate::repo::queue::song::status::PENDING.to_string(),
) )
.await { .await
{
Ok(queued_song) => { Ok(queued_song) => {
results.push(queued_song); results.push(queued_song);
} }
Err(err) => { Err(err) => {
response.message = err.to_string(); response.message = err.to_string();
return (axum::http::StatusCode::INTERNAL_SERVER_ERROR, return (
axum::Json(response)); axum::http::StatusCode::INTERNAL_SERVER_ERROR,
axum::Json(response),
);
} }
} }
} else { } else {