fix: add route for adding pice to box

This commit is contained in:
Alessandre Laguierce 2024-12-04 13:42:33 +01:00
parent 101551b4a3
commit b50c28023a

View File

@ -14,6 +14,7 @@ boxRouter.post("/:title", boxController.boxAddPieces);
boxRouter.delete("/byid/:id_box", boxController.boxRemovePieceById);
boxRouter.post("/byid/:id_box", boxController.boxAddPieces);
boxRouter.delete("/:title", boxController.boxRemovePiece);
boxRouter.get("/byid/:id", boxController.boxById);