Skip to content

Commit

Permalink
Update authJwt.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Feb 17, 2024
1 parent 224f4e9 commit d005c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/middlewares/authJwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function verifyToken(req: Request, res: Response, next: NextFunction) {
console.log(err)
res.status(401).send({ message: 'Unauthorized!' })
} else {
// Token valid!
next()
}
})
Expand Down

0 comments on commit d005c39

Please sign in to comment.