feat: filter queries for item, material & inventory

This commit is contained in:
Sathishkumar Krishnan
2021-12-30 08:45:04 +05:30
parent c7a4d04e69
commit 37e492e166
6 changed files with 144 additions and 0 deletions

View File

@@ -16,4 +16,9 @@ router.post("/", controller.createInventory);
*/
router.patch("/:id", controller.updateInventoryByID);
/**
* @route /inventory/filter-by-type
*/
router.get("/filter-by-type", controller.getInventoryByType);
module.exports = router;