feat(backend): add responsable anomalies status cycle
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
getHistoriqueCsv,
|
||||
getMateriels,
|
||||
getNotifications,
|
||||
patchAnomalieStatut,
|
||||
patchNotificationLue,
|
||||
patchNotificationsLues,
|
||||
} from '../controllers/responsable.controller';
|
||||
@@ -17,6 +18,7 @@ responsableRoutes.get('/dashboard', getDashboard);
|
||||
responsableRoutes.get('/emprunts', getEmprunts);
|
||||
responsableRoutes.get('/materiels', getMateriels);
|
||||
responsableRoutes.get('/anomalies', getAnomalies);
|
||||
responsableRoutes.patch('/anomalies/:id/statut', patchAnomalieStatut);
|
||||
responsableRoutes.get('/notifications', getNotifications);
|
||||
responsableRoutes.patch('/notifications/lu-toutes', patchNotificationsLues);
|
||||
responsableRoutes.patch('/notifications/:id/lu', patchNotificationLue);
|
||||
|
||||
Reference in New Issue
Block a user