feat: added get zones for a warehouse api

This commit is contained in:
Sathishkumar Krishnan
2022-02-09 19:17:16 +05:30
parent 7c2e7b3c19
commit 6657c51fd2
2 changed files with 25 additions and 0 deletions

View File

@@ -12,6 +12,11 @@ router.get("/all", controller.getAllWarehouse);
*/
router.get("/:id", controller.getWarehouseByID);
/**
* @route /warehouse/:id/zones
*/
router.get("/:id/zones", controller.getWarehouseZonesByID);
/**
* @route /warehouse/
*/