added phone attr to contact in whois record

This commit is contained in:
olegphenomenon 2022-10-21 09:50:13 +03:00
parent 39e066f15f
commit 3ef26640b1

View file

@ -113,6 +113,7 @@ class WhoisRecord < ApplicationRecord
{
name: contact.name,
email: contact.email,
phone: contact.phone,
changed: contact.updated_at.try(:to_s, :iso8601),
disclosed_attributes: contact.disclosed_attributes,
contact_publishable: contact.registrant_publishable?,