From 68e4a0011469a0c0908412deb3b29e6bc73590c6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 17 Nov 2018 11:08:06 +0100 Subject: [PATCH] LOGGED IN USER taken from Execution Config File --- Run.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Run.js b/Run.js index 56f3bfd7f..3a49cb7fc 100644 --- a/Run.js +++ b/Run.js @@ -2,8 +2,6 @@ global.CURRENT_ENVIRONMENT = "Develop"; global.CURRENT_EXECUTION_AT = "Browser"; global.SHALL_BOT_STOP = false; -global.USER_LOGGED_IN = "Ciencias"; -global.DEV_TEAM = "AAMasters"; global.AT_BREAKPOINT = false; // This is used only when running at the browser. /* Default parameters can be changed by the execution configuration */ @@ -101,6 +99,7 @@ function readExecutionConfiguration() { filePath = './configs/Execution.Config.json'; let executionProperties = JSON.parse(fs.readFileSync(filePath, 'utf8')); global.DEV_TEAM = executionProperties.devTeam; + global.USER_LOGGED_IN = executionProperties.userName; global.EXCHANGE_NAME = executionProperties.exchangeName; global.MARKET = executionProperties.market; global.EXECUTION_CONFIG = {