|
@@ -209,11 +209,13 @@ class _SongsModule extends CoreClass {
|
|
});
|
|
});
|
|
next(
|
|
next(
|
|
null,
|
|
null,
|
|
- payload.youtubeIds.map(
|
|
+ payload.youtubeIds
|
|
- youtubeId =>
|
|
+ .map(
|
|
- songs.find(song => song.youtubeId === youtubeId) ||
|
|
+ youtubeId =>
|
|
- youtubeVideos.find(video => video.youtubeId === youtubeId)
|
|
+ songs.find(song => song.youtubeId === youtubeId) ||
|
|
- )
|
|
+ youtubeVideos.find(video => video.youtubeId === youtubeId)
|
|
|
|
+ )
|
|
|
|
+ .filter(song => !!song)
|
|
);
|
|
);
|
|
}
|
|
}
|
|
}
|
|
}
|