diff --git a/package.json b/package.json index 3d9f68fe..c044495b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "start": "ts-node src/main.ts", "dev": "nodemon src/main.ts", "build": "tsc", - "lint": "prettier --write ." + "lint": "prettier --write \"src/**/*.ts\"" }, "engines": { "node": ">=12.5.0", diff --git a/src/routes/movies/flixhq.ts b/src/routes/movies/flixhq.ts index d07e10ef..a507fa19 100644 --- a/src/routes/movies/flixhq.ts +++ b/src/routes/movies/flixhq.ts @@ -85,8 +85,8 @@ const routes = async (fastify: FastifyInstance, options: RegisterOptions) => { 60 * 60 * 3, ) : type === 'tv' - ? await flixhq.fetchTrendingTvShows() - : await flixhq.fetchTrendingMovies(); + ? await flixhq.fetchTrendingTvShows() + : await flixhq.fetchTrendingMovies(); reply.status(200).send(res); } catch (error) {