mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 08:30:15 +02:00
Story#111864739 - do not throw an error.
This commit is contained in:
parent
30fe6bd1e6
commit
14b246d692
2 changed files with 0 additions and 2 deletions
|
@ -235,7 +235,6 @@ class Epp::Contact < Contact
|
|||
document_type: legal_document_data[:type],
|
||||
body: legal_document_data[:body]
|
||||
)
|
||||
raise ActiveRecord::Rollback if doc && doc.id.nil?
|
||||
self.legal_documents = [doc]
|
||||
|
||||
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?
|
||||
|
|
|
@ -210,7 +210,6 @@ class Epp::Domain < Domain
|
|||
document_type: legal_document_data[:type],
|
||||
body: legal_document_data[:body]
|
||||
)
|
||||
raise ActiveRecord::Rollback if doc && doc.id.nil?
|
||||
self.legal_documents = [doc]
|
||||
|
||||
frame.css("legalDocument").first.content = doc.path if doc && doc.persisted?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue