fix(api): node edit

This commit is contained in:
dextmorgn
2025-11-20 11:19:58 +01:00
parent 306b2958ba
commit e3e6effdbe

View File

@@ -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)