Skip to content

Commit

Permalink
Update genre-movies.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Manasess896 authored Oct 2, 2024
1 parent df77e90 commit bbb3351
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions genre-movies.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const apiKeytmdb = process.env.TMDB_API_KEY; // Replace with your TMDB API key
const apiKeytmdb ='d6e256dc1cc661c0bf793767a74948df; // Replace with your TMDB API key
const moviegenre = document.getElementById('movies-genre'); // Container for movies
let page2 = 1; // To handle endless scrolling
let currentGenre = ''; // Keep track of the current genre
Expand Down Expand Up @@ -106,4 +106,4 @@ function getGenreName(id) {
37: 'Western',
};
return genreMap[id] || 'Unknown';
}
}

0 comments on commit bbb3351

Please sign in to comment.