From 3d3a8f629c981135679213048aa28533108b69e3 Mon Sep 17 00:00:00 2001 From: asif Date: Thu, 18 Sep 2025 11:03:19 +0530 Subject: [PATCH] added remarks in normal branch transfer --- src/routes/transfer.route.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/transfer.route.js b/src/routes/transfer.route.js index 349dd3e..0b94475 100644 --- a/src/routes/transfer.route.js +++ b/src/routes/transfer.route.js @@ -8,14 +8,15 @@ const router = express.Router(); router.use(passwordValidator, transferValidator); const transferRoute = async (req, res) => { - const { fromAccount, toAccount, toAccountType, amount } = req.body; + const { fromAccount, toAccount, toAccountType, amount, remarks } = req.body; try { const result = await transferController.transfer( fromAccount, toAccount, toAccountType, amount, - req.user + req.user, + remarks ); if (result.status === 'O.K.') {