tsk-179: Code formatting
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user