Skip to content

Commit

Permalink
Fix Req :follow_redirects deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
paytonward6 committed Nov 13, 2024
1 parent 44c9aec commit f755085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_aws/request/req.ex
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ defmodule ExAws.Request.Req do
defp rename_follow_redirect(opts) do
{follow, opts} = Keyword.pop(opts, :follow_redirect, false)

Keyword.put(opts, :follow_redirects, follow)
Keyword.put(opts, :redirect, follow)
end
end

0 comments on commit f755085

Please sign in to comment.