From 50176b400d6c068674b57e01de5b4654804b0b9a Mon Sep 17 00:00:00 2001 From: merefield Date: Fri, 22 Oct 2021 19:07:45 +0100 Subject: [PATCH] more rubocop --- 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 b82dd39a..38000106 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(URI.encode(endpoint.url), headers: headers) + connection = Excon.new(CGI.escape(endpoint.url), headers: headers) params = { method: endpoint.method }