Skip to content

Commit

Permalink
Fix hex_http:request callback spec (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
LostKobrakai authored Apr 11, 2024
1 parent ac66b77 commit 7f0e4a8
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 7f0e4a8

Please sign in to comment.