I have some array called photos
that is returned in a Promise:
somePromiseFunc.then (resp) ->
photos = _.filter resp, 'invalid'
photos
.map (photo) ->
request
url: photo.url
method: 'GET'
.each (photo_contents) ->
# HERE I NEED THE ORIGINAL photo and the photo_contents
How can I get the photo
and photo_contents
together in the response? Is such a thing possible?