Skip to content

Commit

Permalink
logpoint_api: fix when final is not provided (#16)
Browse files Browse the repository at this point in the history
* logpoint_api: fix when final is not provided

* bump: patch version
  • Loading branch information
MikaelFangel authored May 29, 2024
1 parent 557a053 commit 6057b94
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Elixir library implementing the [Logpoint API reference](https://docs.logpoint.c
```elixir
def deps do
[
{:logpoint_api, github: "MikaelFangel/logpoint_api", tag: "v0.2.1"}
{:logpoint_api, github: "MikaelFangel/logpoint_api", tag: "v0.2.2"}
]
end
```
Expand Down
4 changes: 2 additions & 2 deletions lib/logpoint_api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule LogpointApi do
defp handle_search_result({:ok, %{"final" => true} = result}, _, _, _, _), do: result

defp handle_search_result(
{:ok, %{"final" => false, "success" => true}},
{:ok, %{"final" => false}},
ip,
credential,
search_id,
Expand All @@ -44,7 +44,7 @@ defmodule LogpointApi do
end

defp handle_search_result(
{:ok, %{"final" => false, "success" => false}},
{:ok, %{"success" => false}},
ip,
credential,
_,
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule LogpointApi.MixProject do
def project do
[
app: :logpoint_api,
version: "0.2.1",
version: "0.2.2",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit 6057b94

Please sign in to comment.