Skip to content

Commit

Permalink
Fixed logger issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoganov committed Oct 9, 2024
1 parent 49be8b6 commit 33ec3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/api_connector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'] }
Expand Down

0 comments on commit 33ec3c6

Please sign in to comment.