Bug fixes when running in cloud mode

This commit is contained in:
Luis Fernando Molina committed 2018-05-24 18:15:17 +02:00
1 parent 5bcf4e9f47
commit f334959095
2 files changed
+8 -2

No files matched your search

+5 -2
View File
@@ -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) {
+3
View File
@@ -29,6 +29,9 @@
ecosystem = pEcosystem;
ecosystemObject = pEcosystemObject;
github.initialize(githubData);
storage.initialize(storageData, serverConfig);
callBackFunction();
}