Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(api): node edit

dextmorgne3e6effdbe38
diff --git a/flowsint-api/app/api/routes/sketches.py b/flowsint-api/app/api/routes/sketches.py
index 5c92d7e8..59be8e70 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)