Skip to content

Commit

Permalink
chore(elixir): permit noreply outcomes from `Ockam.Services.API.Endpo…
Browse files Browse the repository at this point in the history
…int` callback modules
  • Loading branch information
shanesveller authored and Michał Szpakowski committed Apr 19, 2023
1 parent e51c73e commit 3227d2a
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -125,6 +125,12 @@ defmodule Ockam.Services.API.Endpoint do
{:ok, body, new_endpoint_state} ->
{:reply, :ok, body, %{state | endpoint_state: new_endpoint_state}}

:noreply ->
{:noreply, state}

{:noreply, new_endpoint_state} ->
{:noreply, %{state | endpoint_state: new_endpoint_state}}

{:error, reason} ->
{:error, reason}
end
Expand Down

0 comments on commit 3227d2a

Please sign in to comment.