Skip to content

Commit

Permalink
fix: fix dialyzer error
Browse files Browse the repository at this point in the history
  • Loading branch information
saveman71 committed Oct 17, 2024
1 parent c0b61af commit 475f9e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/hcaptcha/http.ex
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ defmodule Hcaptcha.Http do

case result do
{:ok, data} -> {:ok, data}
{:error, :invalid} -> {:error, [:invalid_api_response]}
{:error, {:invalid, _reason}} -> {:error, [:invalid_api_response]}
{:error, %{reason: reason}} -> {:error, [reason]}
end
end
Expand Down

0 comments on commit 475f9e5

Please sign in to comment.