resolve issues with new features
This commit is contained in:
@@ -9,5 +9,7 @@ router.get('/', authenticate, notificationController.getNotific
|
||||
router.get('/count', authenticate, notificationController.getUnreadCount.bind(notificationController));
|
||||
router.patch('/:id/read', authenticate, notificationController.markAsRead.bind(notificationController));
|
||||
router.post('/mark-all-read', authenticate, notificationController.markAllRead.bind(notificationController));
|
||||
router.post('/dismiss-by-type', authenticate, notificationController.dismissByType.bind(notificationController));
|
||||
router.delete('/read', authenticate, notificationController.deleteAllRead.bind(notificationController));
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user