dialyzer fix

This commit is contained in:
Graham McIntire 2026-01-27 11:09:59 -06:00
parent 197a515386
commit 378dc5f8ec
No known key found for this signature in database

View file

@ -9,9 +9,10 @@ defmodule ToweropsWeb.NetworkMapLive do
organization = socket.assigns.current_organization
# Subscribe to topology changes if connected
if connected?(socket) do
Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}")
end
_ =
if connected?(socket) do
Phoenix.PubSub.subscribe(Towerops.PubSub, "topology:#{organization.id}")
end
# Default empty topology
default_topology = %{