Renaming .ENV Variables

This commit is contained in:
Luis Fernando Molina committed 2019-07-30 10:47:38 +02:00
1 parent cdc438957f
commit e45d58ba31
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ exports.getStrategy = async function () {
global.STRATEGY = strategizerResponse.data.data.strategizer_TradingSystemByFb.data;
} else {
let fileLocation = process.env.CONFIG_PATH + 'userConfig.json'
let fileLocation = process.env.INTER_PROCESS_FILES_PATH + 'definition.json'
let strategy = await readFileAsync(fileLocation, { encoding: 'utf8' })
global.STRATEGY = JSON.parse(strategy)
}