diff --git a/app/models/epp/contact.rb b/app/models/epp/contact.rb index 57eccbf2c..d9d9754bf 100644 --- a/app/models/epp/contact.rb +++ b/app/models/epp/contact.rb @@ -53,8 +53,8 @@ class Epp::Contact < Contact def legal_document_attrs(legal_frame) attrs = {}.with_indifferent_access attrs[0] = {}.with_indifferent_access + attrs[0][:body] = legal_frame.text attrs[0][:document_type] = legal_frame['type'] - attrs[0][:body] = legal_frame attrs end end