From c347c7aa80b6e285a4263d1d616724011a1b2cf7 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Sun, 29 Dec 2019 13:00:48 +0100 Subject: [PATCH] Debug --- libs/Db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/Db.js b/libs/Db.js index eef6789..0e33d68 100644 --- a/libs/Db.js +++ b/libs/Db.js @@ -24,7 +24,8 @@ class Db { 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) history.save() }