Skip to content

Commit

Permalink
test eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
js0mmer committed Jan 21, 2024
1 parent 07c4552 commit 404c975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ app.use('/api', router);
/**
* Error Handler
*/
app.use(function (req, res) {
app.use(function (req, res, next) {

Check failure on line 94 in api/src/app.ts

View workflow job for this annotation

GitHub Actions / Lint and check formatting

'next' is defined but never used
console.error(req);
res.status(500).json({ error: `Internal Serverless Error - '${req}'` });
});
Expand Down

0 comments on commit 404c975

Please sign in to comment.