resolve issues with new features
This commit is contained in:
@@ -4,6 +4,7 @@ import { authenticate } from '../middleware/auth.middleware';
|
||||
|
||||
const router = Router();
|
||||
router.get('/external-links', authenticate, configController.getExternalLinks.bind(configController));
|
||||
router.get('/pdf-settings', authenticate, configController.getPdfSettings.bind(configController));
|
||||
router.get('/service-mode', authenticate, configController.getServiceMode.bind(configController));
|
||||
|
||||
export default router;
|
||||
|
||||
@@ -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