mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 11:11:11 +02:00
Story#107699154 - in whois add registrant email into @disclosed
This commit is contained in:
parent
96e599f885
commit
93b9049ded
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@ class WhoisRecord < ActiveRecord::Base
|
|||
|
||||
h[:registrant] = domain.registrant.name
|
||||
h[:registrant_email] = domain.registrant.email
|
||||
@disclosed << domain.registrant.email
|
||||
h[:changed] = domain.registrant.updated_at.try(:to_s, :iso8601)
|
||||
|
||||
h[:admin_contacts] = []
|
||||
|
@ -83,7 +84,7 @@ class WhoisRecord < ActiveRecord::Base
|
|||
h[:dnssec_changed] = domain.dnskeys.pluck(:updated_at).max.try(:to_s, :iso8601) rescue nil
|
||||
|
||||
|
||||
h[:disclosed] = @disclosed
|
||||
h[:disclosed] = @disclosed # later we can replace
|
||||
h
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue