From 36257fbdfeac4bf5284e8475215719a2d1d9de5b Mon Sep 17 00:00:00 2001 From: merefield Date: Wed, 27 Oct 2021 13:59:50 +0100 Subject: [PATCH] fix excon call --- lib/custom_wizard/api/endpoint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/custom_wizard/api/endpoint.rb b/lib/custom_wizard/api/endpoint.rb index 38000106..97fc1127 100644 --- a/lib/custom_wizard/api/endpoint.rb +++ b/lib/custom_wizard/api/endpoint.rb @@ -74,7 +74,7 @@ class CustomWizard::Api::Endpoint headers["Authorization"] = auth_string if auth_string headers["Content-Type"] = content_type if content_type - connection = Excon.new(CGI.escape(endpoint.url), headers: headers) + connection = Excon.new(endpoint.url, headers: headers) params = { method: endpoint.method }