feat: implement adding movie details from tmdb
This commit is contained in:
@ -24,6 +24,8 @@ export const handler = async (
|
||||
const headers = new Headers();
|
||||
headers.append("Content-Type", "application/json");
|
||||
|
||||
console.log("[api] getting movie credits");
|
||||
|
||||
const cacheId = `/movie/credits/${id}`;
|
||||
|
||||
const cachedResponse = await cache.get<CachedMovieCredits>(cacheId);
|
||||
|
Reference in New Issue
Block a user