Skip to content

Commit 0aeb860

Browse files
author
Ricardo Cañuelo
committed
api.main: add debug traces to PUT nodes
Signed-off-by: Ricardo Cañuelo <[email protected]>
1 parent 8e6a806 commit 0aeb860

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/main.py

+1
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ async def put_nodes(
622622
nodes.node.id = ObjectId(node_id)
623623
await _set_node_ownership_recursively(user, nodes)
624624
obj_list = await db.create_hierarchy(nodes, Node)
625+
print(f"[PUT nodes/{node_id}] hierarchy: {nodes}")
625626
data = _get_node_event_data('updated', obj_list[0])
626627
attributes = {}
627628
if data.get('owner', None):

0 commit comments

Comments
 (0)