10 lines
472 B
JavaScript
10 lines
472 B
JavaScript
|
const notificationController = require('../controllers/notification.controller')
|
||
|
// console.log('hhhhhhhhhhhhhhhhhhhhhh')
|
||
|
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);
|
||
|
|
||
|
}
|