add: api is read & not read in notification

This commit is contained in:
2025-12-18 12:43:44 +07:00
parent 1aa7b1bc08
commit dd5e1cc713
5 changed files with 253 additions and 7 deletions

View File

@@ -9,6 +9,14 @@ router
.route('/')
.get(verifyToken.verifyAccessToken,verifyAccess(), NotificationErrorController.getAll)
router
.route('/read')
.get(verifyToken.verifyAccessToken,verifyAccess(), NotificationErrorController.getAllIsRead)
router
.route('/not-ready')
.get(verifyToken.verifyAccessToken,verifyAccess(), NotificationErrorController.getAllIsNotRead)
router
.route('/')
.post(verifyToken.verifyAccessToken,verifyAccess(), NotificationErrorController.create)