Refactor movie playback and add clickability to stats
Co-authored-by: mathieumoran1 <[email protected]>
This commit is contained in:
co-authored by
mathieumoran1
parent
d98c802a40
commit
c207a03f39
@@ -151,6 +151,7 @@ router.get("/stats", verifyToken, async (req, res) => {
|
||||
const movie = movieByImdbId.get(imdbId);
|
||||
if (!movie) return null;
|
||||
return {
|
||||
movieId: movie?._id ? String(movie._id) : null,
|
||||
imdb_id: movie.imdb_id,
|
||||
title: movie.title || "",
|
||||
poster: movie.poster || "",
|
||||
|
||||
Reference in New Issue
Block a user