Added route for update profile

master
parent 1b021ed3bd
commit cb31ee9008

@ -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;
Loading…
Cancel
Save