Added missing message in the response

This commit is contained in:
kdeng00
2025-07-14 19:33:58 -04:00
parent f5402d0f14
commit 41efb1fb15
+1
View File
@@ -805,6 +805,7 @@ pub mod endpoint {
Ok((date_created, id)) => {
song.id = id;
song.date_created = date_created;
response.message = String::from("Successful");
response.data.push(song);
(axum::http::StatusCode::OK, axum::Json(response))