Skip to content

Commit

Permalink
Fix code example typo (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
joladev authored Jan 22, 2025
1 parent d571d5b commit be10058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redix/pubsub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ defmodule Redix.PubSub do
{:redix_pubsub, ^pubsub, ^ref, :subscribed, %{channel: "my_channel"}} -> :ok
end
Redix.command!(client, ~w(PUBLISH my_channel hello)
Redix.command!(client, ~w(PUBLISH my_channel hello))
receive do
{:redix_pubsub, ^pubsub, ^ref, :message, %{channel: "my_channel"} = properties} ->
Expand Down

0 comments on commit be10058

Please sign in to comment.