Stroy#107699154 disclosed should have array

This commit is contained in:
Vladimir Krylov 2015-11-19 12:27:06 +02:00
parent 93b9049ded
commit b8f1dbbf54

View file

@ -48,7 +48,7 @@ class WhoisRecord < ActiveRecord::Base
h[:registrant] = domain.registrant.name
h[:registrant_email] = domain.registrant.email
@disclosed << domain.registrant.email
@disclosed << [:email, domain.registrant.email]
h[:changed] = domain.registrant.updated_at.try(:to_s, :iso8601)
h[:admin_contacts] = []