From 375a58ef14bdac08edff3afadd9ebcca7da2db7b Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 31 Jul 2019 14:29:55 +0200 Subject: [PATCH] Fix map syntax error. --- ui/lib/ui_web/channels/morse_progress_channel.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/lib/ui_web/channels/morse_progress_channel.ex b/ui/lib/ui_web/channels/morse_progress_channel.ex index 90fb6eb..0ac0ce6 100644 --- a/ui/lib/ui_web/channels/morse_progress_channel.ex +++ b/ui/lib/ui_web/channels/morse_progress_channel.ex @@ -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