lib/creditsafe/faraday_auth.rb in creditsafe_connect-0.1.3 vs lib/creditsafe/faraday_auth.rb in creditsafe_connect-0.1.4
- old
+ new
@@ -31,10 +31,10 @@
raise Creditsafe::UnauthorizedError, resp.body if resp.status == 401
end
rescue Creditsafe::UnauthorizedError => e
retry_count += 1
- raise e if retru_count > 1
+ raise e if retry_count > 1
authenticate!
retry
end