add: api is read & not read in notification
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user