Updated route of get specific product, incorrect callback function - courseController should be productController

master
parent e46299cf37
commit 5d37eea051

@ -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", courseController.getProduct); router.get("/:productId", productController.getProduct);
// My Cart // My Cart

Loading…
Cancel
Save