diff --git a/Server/BotsScripts.js b/Server/BotsScripts.js index 3a9f521b6..98cee047b 100644 --- a/Server/BotsScripts.js +++ b/Server/BotsScripts.js @@ -29,6 +29,9 @@ ecosystem = pEcosystem; ecosystemObject = pEcosystemObject; + github.initialize(githubData); + storage.initialize(storageData, serverConfig); + callBackFunction(); } @@ -92,7 +95,7 @@ if (CONSOLE_LOG === true) { console.log("[INFO] BotScripts -> retrieveScripts -> Cloud -> Entering Case."); } - storage.getStorageData(path, moduleName, onDataArrived); + storage.getStorageData(pDevTeam, pBot, moduleName, onDataArrived); function onDataArrived(pData) { @@ -208,7 +211,7 @@ if (CONSOLE_LOG === true) { console.log("[INFO] BotScripts -> retrieveScripts -> Cloud -> Entering Case."); } - storage.getStorageData(path, moduleName, onDataArrived); + storage.getStorageData(pDevTeam, pBot, moduleName, onDataArrived); function onDataArrived(pData) { diff --git a/Server/CloudScripts.js b/Server/CloudScripts.js index 4b12c50cd..dc921b5e2 100644 --- a/Server/CloudScripts.js +++ b/Server/CloudScripts.js @@ -29,6 +29,9 @@ ecosystem = pEcosystem; ecosystemObject = pEcosystemObject; + github.initialize(githubData); + storage.initialize(storageData, serverConfig); + callBackFunction(); }