Skip to content

Commit

Permalink
fix da da denied typo
Browse files Browse the repository at this point in the history
  • Loading branch information
up2code3 committed Nov 22, 2024
1 parent 0424ad7 commit ec4ea38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/testRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ router.get("/test-cast-error", async (req, res, next) => {
router.get("/test-forbidden-error", (req, res, next) => {
try {
console.log("Testing for Forbidden Error");
throw new ForbiddenError("Access for this User is den denied");
throw new ForbiddenError("Access for this User is denied");
} catch (error) {
next(error);
}
Expand Down

0 comments on commit ec4ea38

Please sign in to comment.