From 6c9e4809a9811cd90f722e6805afe5e3b5dcf8e1 Mon Sep 17 00:00:00 2001 From: KD Date: Tue, 15 Jul 2025 15:10:51 -0400 Subject: [PATCH] Fixing bug where message in response was unpopulated on successful requests (#157) --- src/callers/coverart.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/callers/coverart.rs b/src/callers/coverart.rs index 6a7bbc0..8bbcd49 100644 --- a/src/callers/coverart.rs +++ b/src/callers/coverart.rs @@ -508,6 +508,7 @@ pub mod endpoint { match super::cov_db::create(&pool, &coverart, &song.id).await { Ok(id) => { coverart.id = id; + response.message = String::from("Successful"); response.data.push(coverart); (axum::http::StatusCode::OK, axum::Json(response))