mirror of
https://github.com/internetee/registry.git
synced 2025-08-14 05:29:29 +02:00
Story#105418634 Update Whois json (set delete and outzone)
This commit is contained in:
parent
0c06cec8e3
commit
a5bce57915
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ class WhoisRecord < ActiveRecord::Base
|
||||||
h[:registered] = domain.registered_at.try(:to_s, :iso8601)
|
h[:registered] = domain.registered_at.try(:to_s, :iso8601)
|
||||||
h[:changed] = domain.updated_at.try(:to_s, :iso8601)
|
h[:changed] = domain.updated_at.try(:to_s, :iso8601)
|
||||||
h[:expire] = domain.valid_to.try(:to_date).try(:to_s)
|
h[:expire] = domain.valid_to.try(:to_date).try(:to_s)
|
||||||
h[:outzone] = nil
|
h[:outzone] = domain.outzone_at.try(:to_s, :iso8601)
|
||||||
h[:delete] = domain.force_delete_at.try(:to_s, :iso8601)
|
h[:delete] = domain.delete_at.try(:to_s, :iso8601)
|
||||||
|
|
||||||
|
|
||||||
h[:registrant] = domain.registrant.name
|
h[:registrant] = domain.registrant.name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue