From fbca1ca22582d0b2b1e7fd72be81ace4e466fc89 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 22 May 2018 17:26:37 +0200 Subject: [PATCH] Cleaning --- Run.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Run.js b/Run.js index 6200aa8c0..744539341 100644 --- a/Run.js +++ b/Run.js @@ -30,7 +30,7 @@ global.STORAGE_PERMISSIONS = {}; readStoragePermissions(); -function readStoragePermissions(environment, devTeamDataOwner) { +function readStoragePermissions() { let filePath; @@ -39,7 +39,7 @@ function readStoragePermissions(environment, devTeamDataOwner) { filePath = '../' + 'Connection-Strings' + '/' + 'Storage.Permissions.json'; global.STORAGE_PERMISSIONS = JSON.parse(fs.readFileSync(filePath, 'utf8')); - readApiKey(); + readExchangeAPIKey(); } catch (err) { console.log("[ERROR] readStoragePermissions -> err = " + err.message); @@ -48,7 +48,7 @@ function readStoragePermissions(environment, devTeamDataOwner) { } } -function readApiKey() { +function readExchangeAPIKey() { try { let fs = require('fs'); @@ -58,7 +58,7 @@ function readApiKey() { startRoot(); } catch (err) { - logger.write("[ERROR] readApiKey -> err = " + err.message); + logger.write("[ERROR] readExchangeAPIKey -> err = " + err.message); logger.write("[HINT] You need to have a file at this path -> " + filePath); global.EXCHANGE_KEYS = {