Exchange and Market as global variables.

This commit is contained in:
Luis Fernando Molina committed 2018-03-08 09:47:29 +01:00
1 parent 91dfa45b61
commit 1d00aaf6d2
6 files changed
+40 -26

No files matched your search

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