fix: remove incorrectly merged code

This commit is contained in:
grossmj 2026-10-09 14:29:04 +02:00
parent 57e4d1632d
commit 4195f3b7c1
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -151,13 +151,6 @@ async def _create_link(project: Project, link_create: schemas.LinkCreate) -> dic
await link.update_suspend(link_data["suspend"])
if "show_filters_icon" in link_data:
await link.update_show_filters_icon(link_data["show_filters_icon"])
for node in link_data["nodes"]:
await link.add_node(
project.get_node(node["node_id"]),
node.get("adapter_number", 0),
node.get("port_number", 0),
label=node.get("label"),
)
endpoints = link_data["nodes"]
attached_port = None
for index, endpoint in enumerate(endpoints):