mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Fixed contact legal document parsing
This commit is contained in:
parent
a8e43dd6cc
commit
e52a79a813
1 changed files with 1 additions and 1 deletions
|
@ -53,8 +53,8 @@ class Epp::Contact < Contact
|
||||||
def legal_document_attrs(legal_frame)
|
def legal_document_attrs(legal_frame)
|
||||||
attrs = {}.with_indifferent_access
|
attrs = {}.with_indifferent_access
|
||||||
attrs[0] = {}.with_indifferent_access
|
attrs[0] = {}.with_indifferent_access
|
||||||
|
attrs[0][:body] = legal_frame.text
|
||||||
attrs[0][:document_type] = legal_frame['type']
|
attrs[0][:document_type] = legal_frame['type']
|
||||||
attrs[0][:body] = legal_frame
|
|
||||||
attrs
|
attrs
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue