Skip to content

Commit fff8edf

Browse files
author
SeyiPerfect1
committed
fix: fixed email-verification route to post request
1 parent 440ddfd commit fff8edf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎backend/src/routes/userRoute.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ router.get('/logout', AuthController.logoutUser);
1919
router.post('/reset-password', resetUserLinkValidator, AuthController.getResetLink);
2020
router.post('/update-password', updateUserPasswordValidator, AuthController.updateUserPassword);
2121

22-
router.post('/verify-mail', verifyUserPasswordValidator, AuthController.verifyEmail);
22+
router.post('/verify-email', verifyUserPasswordValidator, AuthController.verifyEmail);
2323
router.post('/update-user-password', isAuthenticated(), AuthController.updateUserPasswordFromMobile);
2424

2525
// Google Login

0 commit comments

Comments
 (0)