From 48479dd70bc0a04b2966551f64489b43a3eeef3d Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Wed, 15 Aug 2018 16:35:17 +0300 Subject: [PATCH] Integrate master --- app/controllers/api/v1/registrant/contacts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/registrant/contacts_controller.rb b/app/controllers/api/v1/registrant/contacts_controller.rb index de5ef9dcf..1be620ba4 100644 --- a/app/controllers/api/v1/registrant/contacts_controller.rb +++ b/app/controllers/api/v1/registrant/contacts_controller.rb @@ -35,7 +35,7 @@ module Api private def set_contacts_pool - country_code, ident = current_user.registrant_ident.to_s.split '-' + country_code, ident = current_registrant_user.registrant_ident.to_s.split '-' associated_domain_ids = begin BusinessRegistryCache.fetch_by_ident_and_cc(ident, country_code).associated_domain_ids end