Fix map syntax error.

This commit is contained in:
Pim Kunis 2019-07-31 14:29:55 +02:00
parent eb9fd09a2b
commit 375a58ef14

View file

@ -2,6 +2,6 @@ defmodule UiWeb.MorseProgressChannel do
use UiWeb, :channel
def join(channel_name, _params, socket) do
{:ok, channel: channel_name, socket}
{:ok, %{channel: channel_name}, socket}
end
end