Endpoint is now working

This commit is contained in:
kdeng00
2025-07-27 13:27:48 -04:00
parent 72c537d083
commit c1672968ca
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -562,7 +562,10 @@ pub mod endpoint {
match super::cov_db::create(&pool, &coverart, &song.id).await {
Ok(id) => {
// TODO: Populate song_id
coverart.id = id;
println!("Cover Art created");
response.message = String::from("Successful");
response.data.push(coverart);