From f152a51342e757ed6237fdf47a1af07a53947a72 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Tue, 15 Jul 2025 14:51:19 -0400 Subject: [PATCH] Fixing bug where message in response was unpopulated on successful requests --- 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))