-
-
Save terakilobyte/be58bd344ac3d8a61616 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return movieLists.map(genres => | |
genres.videos.map(video => | |
video.boxarts.filter(boxart => | |
boxart.width === 150 && boxart.height === 200 | |
).map(boxart => { | |
return ({ | |
id: video.id, | |
title: video.title, | |
boxart: boxart.url | |
}) | |
}) | |
).concatAll() | |
).concatAll() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment