fix: proper fix for apple

This commit is contained in:
HugoPoi 2020-07-04 18:11:14 +02:00
parent fb3adbf8f5
commit bd1a1e4f76

View File

@ -65,7 +65,7 @@ async function searchOnMyFreeMp3(query){
})
.then(res => res.text())
.then(jsonp => vm.runInNewContext(jsonp, { callback: (payload) => payload.response }))
.then(items => _.filter(items, _.isString));
.then(items => _.filter(items, item => !_.isString(item)));
}
function matchScore(spotifyMetas, vkmusicMetas){