From 1e32b4a5a606a8ee50df6680cd8f6bfd2a4b5d6d Mon Sep 17 00:00:00 2001 From: asif Date: Wed, 20 Aug 2025 12:14:40 +0530 Subject: [PATCH] fixed typo in rtgs.route.js --- src/routes/rtgs.route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/rtgs.route.js b/src/routes/rtgs.route.js index 389bb93..c0832c5 100644 --- a/src/routes/rtgs.route.js +++ b/src/routes/rtgs.route.js @@ -32,7 +32,7 @@ const rtgsRoute = async (req, res) => { return res.json({ message: 'SUCCESS', utr }); } else if (result.status.includes('INSUFFICIENT FUNDS')) { return res.status(422).json({ error: 'INSUFFICIENT_FUNDS' }); - } else if (result.status.include('INVALID CHECK DIGIT')) { + } else if (result.status.includes('INVALID CHECK DIGIT')) { return res.status(400).json({ error: 'INVALID_ACCOUNT_NUMBER' }); } else { return res.status(400).json({ error: 'PROBLEM_TRANSFERRING_FUNDS' });