Formatting

This commit is contained in:
kdeng00
2025-04-28 20:52:35 -04:00
parent 19c34da7ba
commit 720651843a
+5 -2
View File
@@ -38,7 +38,9 @@ pub mod request {
} }
pub mod fetch_metadata { pub mod fetch_metadata {
#[derive(Debug, Default, serde::Deserialize, serde::Serialize, sqlx::FromRow, sqlx::Decode)] #[derive(
Debug, Default, serde::Deserialize, serde::Serialize, sqlx::FromRow, sqlx::Decode,
)]
pub struct Params { pub struct Params {
pub id: Option<uuid::Uuid>, pub id: Option<uuid::Uuid>,
pub song_queue_id: Option<uuid::Uuid>, pub song_queue_id: Option<uuid::Uuid>,
@@ -248,7 +250,8 @@ pub mod endpoint {
} }
} }
} else { } else {
match super::metadata_queue::get_with_song_queue_id(&pool, &song_queue_id).await { match super::metadata_queue::get_with_song_queue_id(&pool, &song_queue_id).await
{
Ok(item) => { Ok(item) => {
response.message = String::from("Successful"); response.message = String::from("Successful");
response.data.push(item); response.data.push(item);