diff --git a/Commons.js b/Commons.js index fd8e99e35..ecb4d6ce8 100644 --- a/Commons.js +++ b/Commons.js @@ -18,7 +18,7 @@ logger.fileName = MODULE_NAME; logger.bot = bot; - let utilities = UTILITIES.newUtilities(bot); + let utilities = UTILITIES.newCloudUtilities(bot); return thisObject; @@ -32,7 +32,7 @@ function initializeBruceStorage() { - bruceStorage.initialize({ bot: "AABruce", devTeam: "AAMasters" }, onBruceInizialized); + bruceStorage.initialize(bot.devTeam, onBruceInizialized); function onBruceInizialized(err) { @@ -49,7 +49,7 @@ function initializeOliviaStorage() { - oliviaStorage.initialize({ bot: "AAOlivia", devTeam: "AAMasters" }, onOliviaInizialized); + oliviaStorage.initialize(bot.devTeam, onOliviaInizialized); function onOliviaInizialized(err) { diff --git a/Multi-Period-Daily/User.bot.js b/Multi-Period-Daily/User.bot.js index c2c1ac5f5..644194d2f 100644 --- a/Multi-Period-Daily/User.bot.js +++ b/Multi-Period-Daily/User.bot.js @@ -35,7 +35,7 @@ let oliviaStorage = BLOB_STORAGE.newBlobStorage(bot); let bruceStorage = BLOB_STORAGE.newBlobStorage(bot); - let utilities = UTILITIES.newUtilities(bot); + let utilities = UTILITIES.newCloudUtilities(bot); let statusDependencies; diff --git a/Multi-Period-Market/User.bot.js b/Multi-Period-Market/User.bot.js index eff02bbe3..1aef44b36 100644 --- a/Multi-Period-Market/User.bot.js +++ b/Multi-Period-Market/User.bot.js @@ -35,7 +35,7 @@ let oliviaStorage = BLOB_STORAGE.newBlobStorage(bot); let bruceStorage = BLOB_STORAGE.newBlobStorage(bot); - let utilities = UTILITIES.newUtilities(bot); + let utilities = UTILITIES.newCloudUtilities(bot); let statusDependencies; diff --git a/Project.njsproj b/Project.njsproj index 7d96e8d71..0e6f1a852 100644 --- a/Project.njsproj +++ b/Project.njsproj @@ -21,8 +21,8 @@ Code - - + +