tsk-218: Code formatting
This commit is contained in:
@@ -7,8 +7,6 @@ pub mod request {
|
||||
pub message: String,
|
||||
}
|
||||
|
||||
|
||||
|
||||
pub mod create_metadata {
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, utoipa::ToSchema)]
|
||||
pub struct Request {
|
||||
@@ -68,7 +66,6 @@ pub mod request {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub mod get_songs {
|
||||
#[derive(Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)]
|
||||
pub struct Params {
|
||||
@@ -86,7 +83,6 @@ pub mod response {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
pub mod get_songs {
|
||||
#[derive(Debug, Default, serde::Deserialize, serde::Serialize, utoipa::ToSchema)]
|
||||
pub struct Response {
|
||||
@@ -120,7 +116,6 @@ pub mod endpoint {
|
||||
use crate::repo;
|
||||
use crate::repo::queue as repo_queue;
|
||||
|
||||
|
||||
/// Endpoint to create song
|
||||
#[utoipa::path(
|
||||
post,
|
||||
@@ -204,7 +199,6 @@ pub mod endpoint {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Endpoint to get songs
|
||||
#[utoipa::path(
|
||||
get,
|
||||
|
||||
Reference in New Issue
Block a user