Skip to content
Snippets Groups Projects
Commit 481498f3 authored by Leonardo Christino's avatar Leonardo Christino
Browse files

feat(query): fix direction of query conversion

parent efd8b930
No related branches found
No related tags found
No related merge requests found
Pipeline #126754 failed
......@@ -251,7 +251,7 @@ export function Query2BackendQuery(
ID: currNode?.id,
label: currNode?.name || undefined,
// depth: QuerySearchDepthStruct;
direction: 'FROM',
direction: 'TO',
node: chunk.length === position + 1 ? undefined : (processConnection(chunk, position + 1) as NodeStruct),
};
return ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment