From 743fb61dafe91cadb90ac49c252f7d5fd8016c61 Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Tue, 9 Mar 2021 12:27:33 +0200 Subject: [PATCH] API: addeed extended data from registrant --- lib/serializers/registrant_api/domain.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/serializers/registrant_api/domain.rb b/lib/serializers/registrant_api/domain.rb index ed6eb2b9c..b087a3a88 100644 --- a/lib/serializers/registrant_api/domain.rb +++ b/lib/serializers/registrant_api/domain.rb @@ -25,6 +25,11 @@ module Serializers registrant: { name: domain.registrant.name, id: domain.registrant.uuid, + ident: domain.registrant.ident, + ident_type: domain.registrant.ident_type, + ident_country_code: domain.registrant.ident_country_code, + phone: domain.registrant.phone, + email: domain.registrant.email, org: domain.registrant.org?, }, tech_contacts: contacts(:tech),