Skip to content

Commit

Permalink
fix callback
Browse files Browse the repository at this point in the history
  • Loading branch information
nmbrone committed Aug 3, 2023
1 parent b57125c commit 494c1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minch/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ defmodule Minch.Client do

defp do_handle_info(message, state) do
case state.callback.handle_info(message, state.callback_state) do
{:noreply, callback_state} ->
{:ok, callback_state} ->
{:noreply, %{state | callback_state: callback_state}}

{:reply, frame, callback_state} ->
Expand Down

0 comments on commit 494c1c0

Please sign in to comment.