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)