Debug
This commit is contained in:
parent
d4d73dbc8f
commit
c347c7aa80
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue