1
0
mirror of https://github.com/algora-io/tv.git synced 2025-02-04 01:53:25 +02:00

fix: add handle_info catch-all

This commit is contained in:
zafer 2024-12-13 22:29:59 +03:00
parent de23025c70
commit 957a96b419
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ defmodule AlgoraWeb.ChannelLive do
end}
end
def handle_info({Library, _}, socket), do: {:noreply, socket}
def handle_info(_arg, socket), do: {:noreply, socket}
defp apply_action(socket, :stream, _params) do
if socket.assigns.owns_channel? do

View File

@ -130,7 +130,7 @@ defmodule AlgoraWeb.EmbedLive do
end}
end
def handle_info({Library, _}, socket), do: {:noreply, socket}
def handle_info(_arg, socket), do: {:noreply, socket}
defp assign_form(socket, %Ecto.Changeset{} = changeset) do
assign(socket, :form, to_form(changeset, as: :data))