fix: bug #1
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
const router = require("express").Router();
|
||||
const controller = require("./inventory.controller");
|
||||
|
||||
/**
|
||||
* @route /inventory/:id
|
||||
*/
|
||||
router.get("/:id", controller.getInventoryByID);
|
||||
|
||||
/**
|
||||
* @route /inventory/
|
||||
*/
|
||||
@@ -21,4 +16,9 @@ router.patch("/:id", controller.updateInventoryByID);
|
||||
*/
|
||||
router.get("/filter-by-type", controller.getInventoryByType);
|
||||
|
||||
/**
|
||||
* @route /inventory/:id
|
||||
*/
|
||||
router.get("/:id", controller.getInventoryByID);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user