|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|