mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Story#109057934 - skip everywhere resaving legal document
This commit is contained in:
parent
3bc47e1d99
commit
f83d5c8a93
1 changed files with 1 additions and 0 deletions
|
@ -843,6 +843,7 @@ class Epp::Domain < Domain
|
|||
def parse_legal_document_from_frame(parsed_frame)
|
||||
ld = parsed_frame.css('legalDocument').first
|
||||
return nil unless ld
|
||||
return nil if ld.text.starts_with?(ENV['legal_documents_dir']) # escape reloading
|
||||
|
||||
{
|
||||
body: ld.text,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue