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) => { const findCover = (song, callback) => {
// Si c'est Rx3 on ne met pas de cover // 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) const metadata = new mongo.Metadata(song)
metadata.save() metadata.save()
callback(null, null) callback(null, null)