Added initial code for downloading song endpoint

This commit is contained in:
kdeng00
2025-07-28 15:02:32 -04:00
parent e98e055de0
commit f705c7fbb6
+5
View File
@@ -774,6 +774,11 @@ pub mod endpoint {
} }
} }
pub async fn download_song()
-> (axum::http::StatusCode, axum::response::Response) {
(axum::http::StatusCode::OK, axum::response::Response::default())
}
pub async fn update_song_queue_status( pub async fn update_song_queue_status(
axum::Extension(pool): axum::Extension<sqlx::PgPool>, axum::Extension(pool): axum::Extension<sqlx::PgPool>,
axum::Json(payload): axum::Json<super::request::update_status::Request>, axum::Json(payload): axum::Json<super::request::update_status::Request>,