|
|
@ -31,4 +31,7 @@ router.get(`/get-all-orders`, verify, verifyAdmin, userControllers.getAllOrders)
|
|
|
|
// Route for resetting password
|
|
|
|
// Route for resetting password
|
|
|
|
router.post(`/reset-password`, verify, userControllers.resetPassword);
|
|
|
|
router.post(`/reset-password`, verify, userControllers.resetPassword);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Route for updating profile
|
|
|
|
|
|
|
|
router.put('/update-profile', verify, userControllers.updateProfile);
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = router;
|
|
|
|
module.exports = router;
|