changed ifsc_code_bank table name to ifsc_details

This commit is contained in:
2025-08-08 20:42:39 +05:30
parent 123d5c9f1d
commit c331ba5505
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ const newBeneficiaryValidator = async (req, res, next) => {
return;
}
const query_str =
'SELECT EXISTS(SELECT 1 FROM ifsc_code_bank WHERE ifsc_code = $1)';
'SELECT EXISTS(SELECT 1 FROM ifsc_details WHERE ifsc_code = $1)';
const result = await db.query(query_str, [ifscCode]);
const exists = result.rows[0].exists;
if (!exists) {