Skip to content

Commit

Permalink
Merge pull request #143 from pow-auth/fix-req-bug
Browse files Browse the repository at this point in the history
Fix bug caused by typo with using Req
  • Loading branch information
danschultzer authored Nov 22, 2023
2 parents 977286a + e3b1a04 commit dbba6c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/assent/strategy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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} ->
Expand Down

0 comments on commit dbba6c5

Please sign in to comment.