APP SCHEMA from session to task

This commit is contained in:
Luis Fernando Molina committed 2020-08-30 16:03:27 +02:00
1 parent 3c74c2feea
commit cdb7bb14f8
5 files changed
+23 -19

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ exports.newTradingSystem = function newTradingSystem(bot, logger, tradingEngineM
}
/* Now we go down through all this node children */
let nodeDefinition = bot.APP_SCHEMA_MAP.get(node.type)
let nodeDefinition = global.APP_SCHEMA_MAP.get(node.type)
if (nodeDefinition === undefined) { return }
if (nodeDefinition.properties !== undefined) {