Add registrant phone to whois record json

This commit is contained in:
Thiago Youssef 2022-07-11 11:20:05 -03:00 committed by olegphenomenon
parent 3401a9fc47
commit 5c70e9f38b
5 changed files with 21 additions and 17 deletions

View file

@ -47,7 +47,7 @@ module Zone::WhoisQueryable
def registrant_vars
{ registrant: Setting.registry_juridical_name, registrant_reg_no: Setting.registry_reg_no,
registrant_ident_country_code: Setting.registry_country_code, registrant_kind: 'org',
registrant_disclosed_attributes: %w[name email] }
registrant_disclosed_attributes: %w[name email phone] }
end
def contact_vars