adding debug info for song updates

This commit is contained in:
Chris Cochrun 2024-03-07 12:04:46 -06:00
parent bd78eb4986
commit fd0d696972

View file

@ -594,6 +594,8 @@ impl song_model::SongModel {
let result = update(songs.filter(id.eq(song_id))) let result = update(songs.filter(id.eq(song_id)))
.set(audio.eq(updated_audio.to_string())) .set(audio.eq(updated_audio.to_string()))
.execute(db); .execute(db);
debug!(?result);
debug!(?updated_audio);
match result { match result {
Ok(_i) => { Ok(_i) => {
if let Some(song) = if let Some(song) =