diff --git a/Integrations/Ecosystem.js b/Integrations/Ecosystem.js index 7d8832b02..fcf1fd364 100644 --- a/Integrations/Ecosystem.js +++ b/Integrations/Ecosystem.js @@ -74,7 +74,7 @@ exports.getEcosystem = async function () { global.ECOSYSTEM = ecosystemResponse.data.data.web_GetEcosystem } else { - let fileLocation = process.env.CONFIG_PATH + 'ecosystem.json' + let fileLocation = process.env.INTER_PROCESS_FILES_PATH + '/ecosystem.json' let ecosystem = await readFileAsync(fileLocation, { encoding: 'utf8' }) global.ECOSYSTEM = JSON.parse(ecosystem) } diff --git a/Integrations/Strategy.js b/Integrations/Strategy.js index ede929bbe..de41b75c5 100644 --- a/Integrations/Strategy.js +++ b/Integrations/Strategy.js @@ -37,7 +37,7 @@ exports.getStrategy = async function () { global.STRATEGY = strategizerResponse.data.data.strategizer_TradingSystemByFb.data; } else { - let fileLocation = process.env.INTER_PROCESS_FILES_PATH + 'definition.json' + let fileLocation = process.env.INTER_PROCESS_FILES_PATH + '/definition.json' let strategy = await readFileAsync(fileLocation, { encoding: 'utf8' }) global.STRATEGY = JSON.parse(strategy) } diff --git a/Project.njsproj b/Project.njsproj index b286cdfa9..a23e91de9 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -24,35 +24,18 @@ Code - - Code - - - Code - - - Code - + - - Code - Code Code - - Code - Code - - Code - Code @@ -62,9 +45,6 @@ Code - - Code - Code @@ -85,15 +65,14 @@ Code - Code + -