AACloud Config is 100% read from the cloud

This commit is contained in:
Luis Fernando Molina committed 2018-05-22 12:37:18 +02:00
1 parent af73e40a34
commit 6f83547b16
6 files changed
+145 -98

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ exports.newFileStorage = function newFileStorage(BOT) {
try {
let fs = require('fs');
filePath = '../' + 'Connection-Strings' + '/' + global.STORAGE_CONN_STRING_FOLDER + '/' + dataOwner + '.azure.storage.connstring';
filePath = '../' + 'Connection-Strings' + '/' + global.CURRENT_ENVIRONMENT + '/' + dataOwner + '.azure.storage.connstring';
let connObj = JSON.parse(fs.readFileSync(filePath, 'utf8'));
callBack(global.DEFAULT_OK_RESPONSE, connObj);