Debug
This commit is contained in:
parent
d4d73dbc8f
commit
c347c7aa80
|
@ -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 New Issue
Block a user