From 33b19dc4c69152acca47e486b36d20c267b34f05 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Thu, 1 May 2025 21:57:12 -0400 Subject: [PATCH] Cleanup --- src/callers/coverart.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/callers/coverart.rs b/src/callers/coverart.rs index 937be63..083bbd7 100644 --- a/src/callers/coverart.rs +++ b/src/callers/coverart.rs @@ -39,7 +39,6 @@ mod db { } pub mod endpoint { - // TODO: Implement this pub async fn queue( axum::Extension(pool): axum::Extension, mut multipart: axum::extract::Multipart, @@ -49,7 +48,6 @@ pub mod endpoint { ) { let mut response = super::response::Response::default(); - // while let Some(field) = multipart.next_field().await.unwrap() { match multipart.next_field().await { Ok(Some(field)) => { let name = field.name().unwrap().to_string(); @@ -77,10 +75,6 @@ pub mod endpoint { (axum::http::StatusCode::BAD_REQUEST, axum::Json(response)) } } - - // Save the file to disk - // let mut file = std::fs::File::create(&file_name).unwrap(); - // file.write_all(&data).unwrap(); } Ok(None) => { (axum::http::StatusCode::BAD_REQUEST, axum::Json(response))