We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11925d6 commit b9fe1d3Copy full SHA for b9fe1d3
1 file changed
lib/auth0/mixins/httpproxy.rb
@@ -18,7 +18,6 @@ module HTTPProxy
18
# proxying requests from instance methods to HTTP class methods
19
%i(get post post_file post_form put patch delete delete_with_body).each do |method|
20
define_method(method) do |uri, body = {}, extra_headers = {}|
21
- # body = body.delete_if { |_, v| v.nil? }
22
body = body.dup.delete_if { |_, v| v.nil? } if body.is_a?(Hash)
23
token = get_token()
24
authorization_header(token) unless token.nil?
0 commit comments