Read Config re implemented
This commit is contained in:
1 parent
ad0a319106
commit
1af473ee9c
4 files changed
+12
-8
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user