This commit is contained in:
dbroqua 2019-12-29 13:00:48 +01:00
parent d4d73dbc8f
commit c347c7aa80

View file

@ -24,7 +24,8 @@ class Db {
last[0].song !== value.song last[0].song !== value.song
) )
) { ) {
// Previous song was different => save song! console.log('Save song!', value)
// Previous song was different => save song!
const history = new this.models.Histories(value) const history = new this.models.Histories(value)
history.save() history.save()
} }