Skip to content

Commit

Permalink
Fix hackney call for delete command (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziopio authored Nov 14, 2024
1 parent a4e427f commit 743ed32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar3_grisp_io_api.erl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ update_package(RState, Token, PackageName, PackagePath, Force) ->
Url = <<BaseUrl/binary, URI/binary>>,
Headers = [{<<"authorization">>, bearer_token(Token)}],
Options = insecure_option(RState),
case hackney:request(delete, Url, Headers, Options) of
case hackney:request(delete, Url, Headers, <<>>, Options) of
{ok, 204, _, _} ->
ok;
{ok, 400, _, ClientRef} ->
Expand Down

0 comments on commit 743ed32

Please sign in to comment.