Warning fixes

This commit is contained in:
kdeng00
2025-06-29 17:18:27 -04:00
parent 8c93429647
commit bd1929d5d2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -641,7 +641,7 @@ pub mod endpoint {
axum::Extension(pool): axum::Extension<sqlx::PgPool>,
axum::extract::Path(id): axum::extract::Path<uuid::Uuid>,
) -> (StatusCode, axum::response::Response) {
println!("Id: {:?}", id);
println!("Id: {id}");
match song_queue::get_data(&pool, &id).await {
Ok(data) => {
@@ -654,7 +654,7 @@ pub mod endpoint {
);
headers.insert(
axum::http::header::CONTENT_DISPOSITION,
format!("attachment; filename=\"{}.flac\"", id)
format!("attachment; filename=\"{id}.flac\"")
.parse()
.unwrap(),
);