diff --git a/src/routes/testRoutes.js b/src/routes/testRoutes.js index 8e5f98e..9c7c8fd 100644 --- a/src/routes/testRoutes.js +++ b/src/routes/testRoutes.js @@ -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); }