changed SAVING to SAVINGS as transaction type for IMPS
This commit is contained in:
@@ -11,7 +11,7 @@ async function send(
|
||||
amount,
|
||||
ifscCode,
|
||||
beneficiaryName,
|
||||
beneficiaryAcctType = 'SAVING',
|
||||
beneficiaryAcctType = 'SAVINGS',
|
||||
remarks = ''
|
||||
) {
|
||||
try {
|
||||
|
||||
@@ -19,8 +19,8 @@ const impsRoute = async (req, res) => {
|
||||
amount,
|
||||
ifscCode,
|
||||
beneficiaryName,
|
||||
'SAVING',
|
||||
'check'
|
||||
'SAVINGS',
|
||||
''
|
||||
);
|
||||
|
||||
if (result.startsWith('Message produced successfully')) {
|
||||
|
||||
@@ -26,7 +26,6 @@ async function validateOutsideBank(accountNo, ifscCode, name) {
|
||||
remittername: name,
|
||||
});
|
||||
if (response.data) {
|
||||
console.log(response.data);
|
||||
return uuid;
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user