From 2617a4ed19481cd67856fe299a3ace6d3fe29731 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Mon, 9 Dec 2019 12:01:54 +0100 Subject: [PATCH] Fixed bug --- libs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs.js b/libs.js index 0cf10ab..c36feba 100644 --- a/libs.js +++ b/libs.js @@ -92,7 +92,7 @@ const getRemoteCover = (song, callback) => { */ const findCover = (song, callback) => { // Si c'est Rx3 on ne met pas de cover - if (config.rx3List.indexof(song.artist) !== -1) { + if (config.rx3List.indexOf(song.artist) !== -1) { const metadata = new mongo.Metadata(song) metadata.save() callback(null, null)