There is validation issue for banks with string as branch code
Reproduction of Issue:
IDIB000A001
URBN00000B1
var ifsc = require("ifsc") // v 1.51
ifsc.fetchDetails('IDIB000C122').then(function(res) {
console.log(res);
}).catch(e => console.log(e));
Response
Invalid IFSC Code
The IFSC dataset contains branch codes with 6 characters instead it should contain 7 characters.
The Validation Code is checking 7 characters to 6 characters so for each branch code where characters are mixed the validation issue persists.
There is validation issue for banks with string as branch code
Reproduction of Issue:
IDIB000A001 URBN00000B1
Response
Invalid IFSC Code
The IFSC dataset contains branch codes with 6 characters instead it should contain 7 characters. The Validation Code is checking 7 characters to 6 characters so for each branch code where characters are mixed the validation issue persists.
Dataset: IFSC.json