This commit is contained in:
2025-08-27 11:55:24 +05:30
2 changed files with 7 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ router.get('/user_details', authenticate, authController.fetchUserDetails);
router.get('/tpin', authenticate, authController.tpin);
router.post('/tpin', authenticate, authController.setTpin);
router.post('/login_password', authenticate, authController.setLoginPassword);
router.post('/transaction_password', authenticate, authController.setTransactionPassword);
router.post(
'/transaction_password',
authenticate,
authController.setTransactionPassword
);
module.exports = router;

View File

@@ -32,5 +32,6 @@ const impsRoute = async (req, res) => {
return res.json({ error: 'INTERVAL_SERVER_ERROR' });
}
};
router.post('/', impsRoute);
module.exports = impsRoute;
module.exports = router;