Skip to content

Commit

Permalink
Update hex_http.erl
Browse files Browse the repository at this point in the history
Correct callback spec
  • Loading branch information
LostKobrakai authored Apr 11, 2024
1 parent ac66b77 commit 3df0286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hex_http.erl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-type adapter_config() :: map().

-callback request(method(), URI :: binary(), headers(), body(), adapter_config()) ->
{ok, status(), headers(), binary()}
{ok, {status(), headers(), binary()}}
| {error, term()}.

-spec request(hex_core:config(), method(), URI :: binary(), headers(), body()) ->
Expand Down

0 comments on commit 3df0286

Please sign in to comment.