From e3e6effdbe38338fe9f722d916df0b11b63cf4ef Mon Sep 17 00:00:00 2001 From: dextmorgn Date: Thu, 20 Nov 2025 11:19:58 +0100 Subject: [PATCH] fix(api): node edit --- flowsint-api/app/api/routes/sketches.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flowsint-api/app/api/routes/sketches.py b/flowsint-api/app/api/routes/sketches.py index 5c92d7e..59be8e7 100644 --- a/flowsint-api/app/api/routes/sketches.py +++ b/flowsint-api/app/api/routes/sketches.py @@ -380,6 +380,9 @@ def edit_node( flattened_data = flatten(node_data) properties.update(flattened_data) + # Remove sketch_id from properties to avoid conflict (it's passed separately for security) + properties.pop("sketch_id", None) + # Update node using GraphRepository try: graph_repo = GraphRepository(neo4j_connection)