From 72c895db993ed5d9809db7ed459ef87afc0bedae Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 26 Nov 2015 17:20:39 +0200 Subject: [PATCH] Story#108553816 add name to the contacts json output --- app/api/repp/domain_v1.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/repp/domain_v1.rb b/app/api/repp/domain_v1.rb index 7b4a02004..9275e611f 100644 --- a/app/api/repp/domain_v1.rb +++ b/app/api/repp/domain_v1.rb @@ -35,7 +35,7 @@ module Repp error! I18n.t('errors.messages.epp_authorization_error'), 401 unless domain.auth_info.eql? request.headers['Auth-Code'] contact_repp_json = proc{|contact| - contact.attributes.slice("code", "ident", "ident_type", "ident_country_code", "phone", "email", "street", "city", "zip","country_code", "statuses") + contact.attributes.slice("code", "name", "ident", "ident_type", "ident_country_code", "phone", "email", "street", "city", "zip","country_code", "statuses") } @response = {