Skip to content

Commit

Permalink
Update lib/presto/client/faraday_client.rb
Browse files Browse the repository at this point in the history
Co-authored-by: NARUSE, Yui <nurse@users.noreply.github.com>
  • Loading branch information
takezoe and nurse authored Mar 18, 2021
1 parent a103660 commit 64c0b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/presto/client/faraday_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def self.faraday_client(options)
if options[:user] && options[:password]
faraday.basic_auth(options[:user], options[:password])
end
if options[:follow_redirect] == true
if options[:follow_redirect]
faraday.use FaradayMiddleware::FollowRedirects
end
faraday.response :logger if options[:http_debug]
Expand Down

0 comments on commit 64c0b81

Please sign in to comment.