SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const discoverMovie = ({ genreId, isoCode, year, interval }) => {
  2.   return moviedbApiCall('movie', {
  3.     with_genres: genreId,
  4.     primary_release_year: year,
  5.     with_original_language: isoCode,
  6.     'primary_release_date.gte': (interval || {}).start,
  7.     'primary_release_date.lte': (interval || {}).end,
  8.   })
  9.     .then((response) => apiResultToCarousselle(response, 'movie'))
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top