fix: refactor some stuff

This commit is contained in:
Max Richter
2025-10-31 17:34:06 +01:00
parent 5001fe62c1
commit de0b2e7a8f
6 changed files with 5 additions and 18 deletions

View File

@@ -38,8 +38,7 @@ export const handler: Handlers = {
const poster = await tmdb.getMoviePoster(posterPath);
const extension = fileExtension(posterPath);
finalPath = `Media/movies/images/${safeFileName(name)
}_cover.${extension}`;
finalPath = `movies/images/${safeFileName(name)}_cover.${extension}`;
await createResource(finalPath, poster);
}