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

View file

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