lib/httpx/plugins/oauth.rb in httpx-1.2.6 vs lib/httpx/plugins/oauth.rb in httpx-1.3.0

- old
+ new

@@ -153,10 +153,10 @@ refresh_token = payload["refresh_token"] with(oauth_session: oauth_session.merge(access_token: access_token, refresh_token: refresh_token)) end - def build_request(*, _) + def build_request(*) request = super return request if request.headers.key?("authorization") oauth_session = @options.oauth_session