2024-03-07 13:01:44 +00:00
|
|
|
const notificationController = require('../controllers/notification.controller')
|
|
|
|
module.exports = (app) => {
|
|
|
|
|
|
|
|
app.post('/notification',notificationController.createNotification);
|
|
|
|
app.get('/getNotifications',notificationController.getNotifications);
|
|
|
|
app.delete('/deleteNotification/:id',notificationController.deleteNotification);
|
|
|
|
app.get('/getNotificationId/:id',notificationController.getNotificationId);
|
2024-03-21 10:56:27 +00:00
|
|
|
app.delete('/deleteAllNotifications',notificationController.deleteAllNotifications)
|
2024-03-07 13:01:44 +00:00
|
|
|
|
|
|
|
}
|