From 950be29b1f4936c9b7352aa6de81c0e6a422e6c5 Mon Sep 17 00:00:00 2001 From: saurabh kumar <129894480+saurabhkr52@users.noreply.github.com> Date: Fri, 5 Jan 2024 17:13:25 +0530 Subject: [PATCH] Update index.js this URL doesn't work anymore.new url includes /3 as a parameter. --- netflix-ui/src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netflix-ui/src/store/index.js b/netflix-ui/src/store/index.js index 3862d6bb..478a43c8 100644 --- a/netflix-ui/src/store/index.js +++ b/netflix-ui/src/store/index.js @@ -69,7 +69,7 @@ export const fetchMovies = createAsyncThunk( netflix: { genres }, } = thunkAPI.getState(); return getRawData( - `${TMDB_BASE_URL}/trending/${type}/week?api_key=${API_KEY}`, + `${TMDB_BASE_URL}/3/trending/${type}/week?api_key=${API_KEY}`, genres, true );