Update parser.ex
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user