Fix map syntax error.
This commit is contained in:
parent
eb9fd09a2b
commit
375a58ef14
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ defmodule UiWeb.MorseProgressChannel do
|
||||||
use UiWeb, :channel
|
use UiWeb, :channel
|
||||||
|
|
||||||
def join(channel_name, _params, socket) do
|
def join(channel_name, _params, socket) do
|
||||||
{:ok, channel: channel_name, socket}
|
{:ok, %{channel: channel_name}, socket}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue