We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f31f7df commit 467dd20Copy full SHA for 467dd20
src/utils/queryGraph.js
@@ -142,7 +142,7 @@ function toCurrentTRAPI(qGraph) {
142
function prune(q_graph) {
143
const clonedQueryGraph = _.cloneDeep(q_graph);
144
Object.keys(clonedQueryGraph.nodes).forEach((n) => {
145
- pruneEmptyArray(clonedQueryGraph.nodes[n], 'categories');
+ delete clonedQueryGraph.nodes[n].taxa;
146
pruneEmptyArray(clonedQueryGraph.nodes[n], 'ids');
147
});
148
Object.keys(clonedQueryGraph.edges).forEach((e) => {
0 commit comments