From f755085d48c5440353e86aa829513510f2a51e7e Mon Sep 17 00:00:00 2001 From: paytonward6 Date: Wed, 13 Nov 2024 17:03:03 -0600 Subject: [PATCH] Fix Req :follow_redirects deprecation warning --- lib/ex_aws/request/req.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_aws/request/req.ex b/lib/ex_aws/request/req.ex index f63a3b57..d6b2cfbd 100644 --- a/lib/ex_aws/request/req.ex +++ b/lib/ex_aws/request/req.ex @@ -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