Skip to content

Commit

Permalink
Fixed lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam committed Feb 26, 2024
1 parent 95fd601 commit 44f9362
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const errorHandlingMiddleware = (err, req, res, next) => {
const errorHandlingMiddleware = (err, req, res) => {
if (err.status != null) {
res.status(err.statusCode).json({
msg: err.message,
Expand Down

0 comments on commit 44f9362

Please sign in to comment.