Read Config re implemented

This commit is contained in:
Luis Fernando Molina committed 2018-03-07 17:27:36 +01:00
1 parent ad0a319106
commit 1af473ee9c
4 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@
try {
let fs = require('fs');
let filePath = '../' + 'API-Keys' + '/' + EXCHANGE_NAME + '.json';
let filePath = '../' + 'API-Keys' + '/' + bot.codeName + '.' + EXCHANGE_NAME + '.json';
return JSON.parse(fs.readFileSync(filePath, 'utf8'));
}
catch (err) {