|
|
@ -107,7 +107,7 @@ discoverRoutes.get<{ genreId: string }>(
|
|
|
|
discoverRoutes.get<{ studioId: string }>(
|
|
|
|
discoverRoutes.get<{ studioId: string }>(
|
|
|
|
'/movies/studio/:studioId',
|
|
|
|
'/movies/studio/:studioId',
|
|
|
|
async (req, res) => {
|
|
|
|
async (req, res) => {
|
|
|
|
const tmdb = createTmdbWithRegionLanaguage(req.user);
|
|
|
|
const tmdb = new TheMovieDb();
|
|
|
|
|
|
|
|
|
|
|
|
const studio = await tmdb.getStudio(Number(req.params.studioId));
|
|
|
|
const studio = await tmdb.getStudio(Number(req.params.studioId));
|
|
|
|
|
|
|
|
|
|
|
@ -245,7 +245,7 @@ discoverRoutes.get<{ genreId: string }>(
|
|
|
|
discoverRoutes.get<{ networkId: string }>(
|
|
|
|
discoverRoutes.get<{ networkId: string }>(
|
|
|
|
'/tv/network/:networkId',
|
|
|
|
'/tv/network/:networkId',
|
|
|
|
async (req, res) => {
|
|
|
|
async (req, res) => {
|
|
|
|
const tmdb = createTmdbWithRegionLanaguage(req.user);
|
|
|
|
const tmdb = new TheMovieDb();
|
|
|
|
|
|
|
|
|
|
|
|
const network = await tmdb.getNetwork(Number(req.params.networkId));
|
|
|
|
const network = await tmdb.getNetwork(Number(req.params.networkId));
|
|
|
|
|
|
|
|
|
|
|
|