Skip to content

Commit

Permalink
chore(build)
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Nov 30, 2023
1 parent 0ad441a commit 5c06e53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/routes/movies/flixhq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5c06e53

Please sign in to comment.