diff --git a/src/controllers/cbr_cycle.js b/src/controllers/cbr_cycle.js index f7b8926..da33840 100644 --- a/src/controllers/cbr_cycle.js +++ b/src/controllers/cbr_cycle.js @@ -222,7 +222,7 @@ module.exports.query = async (req, res) => { } } let methods = [] - temp.trees.forEach(t => { + temp.data.trees.forEach(t => { for (var n in t.nodes) { if (t.nodes[n].Concept == "Explanation Method") { methods.push(t.nodes[n].Instance)