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