Stream song (#164)
* Added crates and dependency features * Added endpoint to stream songs * Changed name of function * Song stream endpoint is now available * Endpoint is now working * Added test * Warning fixes * Code formatting * Added TODO for later * Test fix * Version bump
This commit was merged in pull request #164.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user