Formatting
This commit is contained in:
@@ -47,7 +47,6 @@ mod song_queue {
|
|||||||
pub id: uuid::Uuid,
|
pub id: uuid::Uuid,
|
||||||
pub filename: String,
|
pub filename: String,
|
||||||
pub status: String,
|
pub status: String,
|
||||||
// pub data: Vec<u8>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn insert(
|
pub async fn insert(
|
||||||
|
|||||||
+2
-1
@@ -307,7 +307,8 @@ mod tests {
|
|||||||
.method(axum::http::Method::GET)
|
.method(axum::http::Method::GET)
|
||||||
.uri(crate::callers::endpoints::NEXTQUEUESONG)
|
.uri(crate::callers::endpoints::NEXTQUEUESONG)
|
||||||
.header(axum::http::header::CONTENT_TYPE, "application/json")
|
.header(axum::http::header::CONTENT_TYPE, "application/json")
|
||||||
.body(axum::body::Body::empty()).unwrap();
|
.body(axum::body::Body::empty())
|
||||||
|
.unwrap();
|
||||||
|
|
||||||
match app.clone().oneshot(fetch_req).await {
|
match app.clone().oneshot(fetch_req).await {
|
||||||
Ok(response) => {
|
Ok(response) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user