fixing notification
This commit is contained in:
@@ -26,7 +26,7 @@ router
|
||||
.get(verifyToken.verifyAccessToken, NotificationErrorController.getById)
|
||||
.put(
|
||||
verifyToken.verifyAccessToken,
|
||||
verifyAccess(),
|
||||
// verifyAccess(),
|
||||
NotificationErrorController.update
|
||||
);
|
||||
|
||||
|
||||
@@ -7,7 +7,10 @@ const router = express.Router();
|
||||
|
||||
router.route("/")
|
||||
.get(verifyToken.verifyAccessToken, NotificationErrorLogController.getAll)
|
||||
.post(verifyToken.verifyAccessToken, verifyAccess(), NotificationErrorLogController.create);
|
||||
.post(
|
||||
verifyToken.verifyAccessToken,
|
||||
// verifyAccess(),
|
||||
NotificationErrorLogController.create);
|
||||
|
||||
router.route("/:id")
|
||||
.get(verifyToken.verifyAccessToken, NotificationErrorLogController.getById);
|
||||
|
||||
Reference in New Issue
Block a user