mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Merge branch 'story/107699154-whois-open-email' into staging
This commit is contained in:
commit
f5478c0dc7
1 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,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] = []
|
||||
|
@ -84,7 +85,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