Skip to content
Snippets Groups Projects
Commit ec3e24de authored by Kieran van Gaalen's avatar Kieran van Gaalen
Browse files

Merge branch 'Different-JSON-Format' of...

Merge branch 'Different-JSON-Format' of https://git.science.uu.nl/GravenvanPolaris/query-conversion into Different-JSON-Format
parents 06b04102 105f47c1
No related branches found
No related tags found
1 merge request!1Big merge
......@@ -106,7 +106,7 @@ func getChildrenFromTree(JSONQuery *entity.IncomingQueryJSON, treeList []entity.
// We get the new treeListIndex, which we can now add to the list of children from the tree calling this function
treeListIndex = len(treeList) - 1
treeList[parentIndex].Children = append(treeList[parentIndex].Children, treeListIndex)
return getChildrenFromTree(JSONQuery, treeList, treeListIndex, treeListIndex)
treeList = getChildrenFromTree(JSONQuery, treeList, treeListIndex, treeListIndex)
}
}
return treeList
......
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