diff --git a/CHANGELOG.md b/CHANGELOG.md index dcc442a..d45800e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.2.9 (TBA) + +- Fixed bug where `Req` was not used by default if included in project + ## v0.2.8 (2023-11-19) `Req` will be used by default if available in your project, otherwise `:httpc` will be used. diff --git a/lib/assent/strategy.ex b/lib/assent/strategy.ex index 5528dc2..47d8549 100644 --- a/lib/assent/strategy.ex +++ b/lib/assent/strategy.ex @@ -49,7 +49,7 @@ defmodule Assent.Strategy do @default_http_client Enum.find_value( [ - {Req1, Assent.HTTPAdapter.Req}, + {Req, Assent.HTTPAdapter.Req}, {:httpc, Assent.HTTPAdapter.Httpc} ], fn {dep, module} ->