feat(loans): confirm declared material state changes
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
import { Router } from 'express';
|
||||
import { getMesEmprunts, postEmprunt, postRestitution } from '../controllers/emprunt.controller';
|
||||
import {
|
||||
getMesEmprunts,
|
||||
postAlerteChangementRetour,
|
||||
postEmprunt,
|
||||
postRestitution,
|
||||
} from '../controllers/emprunt.controller';
|
||||
|
||||
export const empruntRoutes: Router = Router();
|
||||
empruntRoutes.post('/', postEmprunt);
|
||||
empruntRoutes.post('/:id/alerte-changement-retour', postAlerteChangementRetour);
|
||||
empruntRoutes.post('/:id/restitution', postRestitution);
|
||||
|
||||
export const mesEmpruntsRoutes: Router = Router();
|
||||
|
||||
Reference in New Issue
Block a user