Update parser.ex

This commit is contained in:
2025-11-29 21:20:45 -05:00
parent fe5ba31a46
commit 20aa1de1ad

View File

@@ -88,7 +88,7 @@ def parse_bban(bban_string, country_code, incomplete: false) do
end
defp parse_bban_by_country_rules(country_module, bban_string) do
for {field, rule} <- country_module.rules,
for {field, rule} <- country_module.rules(),
into: %{},
do: {field, normalize_and_slice(bban_string, rule.range)}
end