From 4c8da0bb7ad1642d36afe1035ace94955c283f57 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Thu, 28 Jan 2016 16:16:38 +0200 Subject: [PATCH] Story#105846070 - remove password from Ariregister log --- app/models/soap/arireg.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/soap/arireg.rb b/app/models/soap/arireg.rb index e040c24ad..422a72dd9 100644 --- a/app/models/soap/arireg.rb +++ b/app/models/soap/arireg.rb @@ -90,13 +90,13 @@ module Soap # retrieve business id codes for business that a person has a legal role def associated_businesses(ident, ident_cc = 'EST') begin - msg = body( - 'fyysilise_isiku_kood' => ident, + msg = { + 'fyysilise_isiku_kood' => ident, 'fyysilise_isiku_koodi_riik' => country_code_3(ident_cc) - ) + } Rails.logger.info "[Ariregister] Request sent with data: #{msg.inspect}" - response = @client.call :paringesindus_v4, message: msg + response = @client.call :paringesindus_v4, message: body(msg) content = extract response, :paringesindus_v4_response Rails.logger.info "[Ariregister] Got response with data: #{content.inspect}"