Song queue #258
@@ -500,7 +500,7 @@ pub mod endpoint {
|
||||
println!("Valid song");
|
||||
|
||||
match repo::data::get_with_song_queue_id(&pool, &song_queue_id).await {
|
||||
Ok((_id, file_key, _bucket, _region, _)) => {
|
||||
Ok((id, file_key, _bucket, _region, _)) => {
|
||||
match lr.delete(&file_key).await {
|
||||
Ok(_response) => {
|
||||
let data = labyrinth::Data {
|
||||
@@ -520,7 +520,7 @@ pub mod endpoint {
|
||||
Ok(_) => {
|
||||
match repo::data::update_file_key(
|
||||
&pool,
|
||||
&song_queue_id,
|
||||
&id,
|
||||
&new_file_key,
|
||||
)
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user