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