Skip to content

Commit

Permalink
Add debug statement to fetchMoviesByCategory function
Browse files Browse the repository at this point in the history
  • Loading branch information
UretzkyZvi committed Dec 30, 2023
1 parent e547ee2 commit 6f91e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/tmdbService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const API_KEY = process.env.REACT_APP_TMDB_API_KEY;
const BASE_URL = 'https://api.themoviedb.org/3';

export const fetchMoviesByCategory = async (category: string) => {
console.log('debug API_KEY: ', API_KEY)
if (category === 'discover') {
category = 'discover/movie';
} else {
Expand Down

0 comments on commit 6f91e57

Please sign in to comment.