Updated route again should be productControllers

master
parent 5d37eea051
commit 58e9919b8b

@ -34,7 +34,7 @@ router.put(`/:productId/activate`, verify, verifyAdmin, productControllers.activ
router.post(`/create-order`, verify, verifyNonAdmin, productControllers.createOrder); router.post(`/create-order`, verify, verifyNonAdmin, productControllers.createOrder);
// Route for getting the information of specific product // Route for getting the information of specific product
router.get("/:productId", productController.getProduct); router.get("/:productId", productControllers.getProduct);
// My Cart // My Cart

Loading…
Cancel
Save