lib/ruby-box/session.rb in ruby-box-1.13.0 vs lib/ruby-box/session.rb in ruby-box-1.14.0

- old
+ new

@@ -77,10 +77,10 @@ end # Got unauthorized (401) status, try to refresh the token if response.code.to_i == 401 and @refresh_token and retries == 0 refresh_token(@refresh_token) - request(uri, request, raw, retries + 1) + return request(uri, request, raw, retries + 1) end sleep(@backoff) # try not to excessively hammer API. handle_errors( response, raw )