adding debug info for song updates
This commit is contained in:
parent
bd78eb4986
commit
fd0d696972
1 changed files with 2 additions and 0 deletions
|
@ -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) =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue