diff --git a/src/callers/queue/song.rs b/src/callers/queue/song.rs index a2b99f1..f5434f8 100644 --- a/src/callers/queue/song.rs +++ b/src/callers/queue/song.rs @@ -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