From 33ec3c6f82b3649382f16a04f0a0da378aed652d Mon Sep 17 00:00:00 2001 From: tsoganov Date: Wed, 9 Oct 2024 11:56:34 +0300 Subject: [PATCH] Fixed logger issue in test --- app/services/api_connector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/api_connector.rb b/app/services/api_connector.rb index e203c860..0f0fc290 100644 --- a/app/services/api_connector.rb +++ b/app/services/api_connector.rb @@ -54,7 +54,7 @@ def send_non_get_request(request, method, params) end def process_response_body(response) - Rails.logger.debug("Processing response with content type: #{response['content-type']} and body: #{response.body}") + Rails.logger.debug("Processing response with content type: #{response['content-type']}") case response['content-type'] when 'application/pdf', 'application/octet-stream' { data: response.body, message: response.headers['content-disposition'] }