Update HeroSection.tsx

This commit is contained in:
CK 2026-03-05 14:54:29 +05:30 committed by GitHub
parent c6c27bf86a
commit 02cecaf1ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1156,7 +1156,7 @@ const HeroSection: React.FC<HeroSectionProps> = memo(({
// Fetch video list from TMDB to get the YouTube video ID
const videosRes = await fetch(
`https://api.themoviedb.org/3/${contentType}/${resolvedTmdbId}/videos?api_key=d131017ccc6e5462a81c9304d21476de&language=en-US`
`https://api.themoviedb.org/3/${contentType}/${resolvedTmdbId}/videos?api_key=${tmdbApiKey}`
);
if (!alive) return;