diff --git a/src/validators/transfer.validator.js b/src/validators/transfer.validator.js index 11155cf..431d463 100644 --- a/src/validators/transfer.validator.js +++ b/src/validators/transfer.validator.js @@ -1,7 +1,7 @@ const transferValidator = async (req, res, next) => { const { fromAccount, toAccount, toAccountType, amount } = req.body; - const accountTypes = ['SB', 'LN','Savings','Current']; + const accountTypes = ['SB', 'LN', 'Savings', 'Current']; if (!fromAccount || fromAccount.length != 11) { return res.status(400).json({ error: 'INVALID_ACCOUNT_NUMBER_FORMAT' }); }