diff --git a/index.js b/index.js index 4be8f32..71ba283 100644 --- a/index.js +++ b/index.js @@ -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){