mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 07:04:47 +02:00
Fix contact create with predefined code
This commit is contained in:
parent
7fd31b7004
commit
8bc064a0b8
3 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ class Epp::Contact < Contact
|
|||
attrs = epp ? attrs_from(frame, new_record: true) : frame
|
||||
super(
|
||||
attrs.merge(
|
||||
code: epp ? frame.css('id').text : frame[:id],
|
||||
code: epp ? frame.css('id').text : frame[:code],
|
||||
registrar: registrar
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue