lib/auth0/mixins/httpproxy.rb in auth0-4.12.0 vs lib/auth0/mixins/httpproxy.rb in auth0-4.13.0

- old
+ new

@@ -19,10 +19,10 @@ # Make the call with extra_headers, if provided. call(:get, url(safe_path), timeout, get_headers) elsif method == :delete call(:delete, url(safe_path), timeout, add_headers({params: body})) elsif method == :delete_with_body - call(:delete, url(safe_path), timeout, headers, body) + call(:delete, url(safe_path), timeout, headers, body.to_json) elsif method == :post_file body.merge!(multipart: true) call(:post, url(safe_path), timeout, headers, body) else call(method, url(safe_path), timeout, headers, body.to_json)