Exchange and Market as global variables.
This commit is contained in:
1 parent
91dfa45b61
commit
1d00aaf6d2
6 files changed
+40
-26
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user