mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 23:16:23 +02:00
Updated contact name data type in schemas
This commit is contained in:
parent
9e63e3d0bd
commit
c7d3788a36
12 changed files with 109 additions and 45 deletions
|
@ -38,6 +38,7 @@ module EppErrors
|
|||
errors.each do |err|
|
||||
code, value = find_epp_code_and_value(err)
|
||||
next unless code
|
||||
|
||||
msg = attr.to_sym == :base ? err : "#{err} [#{attr}]"
|
||||
epp_errors.add(attr, code: code, msg: msg, value: value)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue