Skip to content

Commit

Permalink
Merge pull request #1097 from paytonward6/fix/req-follow-redirects-de…
Browse files Browse the repository at this point in the history
…p-warning

Fix Req :follow_redirects deprecation warning
  • Loading branch information
bernardd authored Dec 13, 2024
2 parents 3d2c715 + f755085 commit d67dcb0
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 d67dcb0

Please sign in to comment.