mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
story#115040421 - remove double save of legal doc on contact update
This commit is contained in:
parent
61f08cda9a
commit
bd049968e1
1 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ class Epp::Contact < Contact
|
|||
at[:statuses] = statuses - statuses_attrs(frame.css('rem'), 'rem') + statuses_attrs(frame.css('add'), 'add')
|
||||
end
|
||||
|
||||
legal_frame = frame.css('legalDocument').first
|
||||
at[:legal_documents_attributes] = self.class.legal_document_attrs(legal_frame)
|
||||
# legal_frame = frame.css('legalDocument').first
|
||||
# at[:legal_documents_attributes] = self.class.legal_document_attrs(legal_frame)
|
||||
|
||||
if doc = attach_legal_document(Epp::Domain.parse_legal_document_from_frame(frame))
|
||||
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue