Fixed bug

This commit is contained in:
dbroqua 2019-12-09 12:01:54 +01:00
parent cb2b7285b5
commit 2617a4ed19

View File

@ -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)