mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
ruby syntaxt upadtes #2557
This commit is contained in:
parent
1b66e74108
commit
9c43e8e302
5 changed files with 13 additions and 15 deletions
|
@ -369,7 +369,9 @@ class Epp::Domain < Domain
|
|||
at[:admin_domain_contacts_attributes] += at_add[:admin_domain_contacts_attributes]
|
||||
at[:tech_domain_contacts_attributes] += at_add[:tech_domain_contacts_attributes]
|
||||
at[:dnskeys_attributes] += at_add[:dnskeys_attributes]
|
||||
at[:statuses] = statuses - domain_statuses_attrs(frame.css('rem'), 'rem') + domain_statuses_attrs(frame.css('add'), 'add')
|
||||
at[:statuses] =
|
||||
statuses - domain_statuses_attrs(frame.css('rem'), 'rem') + domain_statuses_attrs(frame.css('add'), 'add')
|
||||
|
||||
# at[:statuses] += at_add[:domain_statuses_attributes]
|
||||
|
||||
if verify && frame.css('registrant').present? && frame.css('registrant').attr('verified').to_s.downcase != 'yes'
|
||||
|
@ -385,9 +387,7 @@ class Epp::Domain < Domain
|
|||
frame = Nokogiri::XML(pending_json['frame'])
|
||||
statuses.delete(DomainStatus::PENDING_UPDATE)
|
||||
|
||||
if update(frame, user, false)
|
||||
clean_pendings!
|
||||
end
|
||||
clean_pendings! if update(frame, user, false)
|
||||
end
|
||||
|
||||
def attach_legal_document(legal_document_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue