0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00

API: fix request call

Dieser Commit ist enthalten in:
merefield 2021-10-05 10:06:15 +01:00
Ursprung a2ebd5c463
Commit 6056351b7c

Datei anzeigen

@ -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(UrlHelper.encode_and_parse(endpoint.url), headers: headers)
connection = Excon.new(URI.encode(endpoint.url), headers: headers)
params = { method: endpoint.method }