fix: remove language/region filtering on studio/network results (#1129)

pull/1069/head
TheCatLady 4 years ago committed by GitHub
parent 3c1a72b038
commit 109aca8229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save