Adding env variables and fixing issues

This commit is contained in:
mati108@gmail.com committed 2018-12-13 09:12:25 -03:00
1 parent b8f655d1ba
commit f58a9f76a5
8 files changed
+45 -62

No files matched your search

+3 -2
View File
@@ -37,7 +37,7 @@
// TODO integrate with financial beings module to get the exchange
let botExchange = 'Poloniex';
let exchange = botExchange.toLowerCase() + 'Client.js';
let api = require('./Wrappers/' + exchange);
let api = require('./wrappers/' + exchange);
request(authOptions, onTokenResponse);
@@ -67,7 +67,8 @@
if (global.LOG_CONTROL[MODULE_NAME].logInfo === true) { logger.write(MODULE_NAME, "[INFO] createKeyVaultAPIClient -> Entering function."); }
const keyVaultAPI = graphqlClient({
url: 'https://app-api.advancedalgos.net/graphql',
//url: 'https://platform-api.advancedalgos.net/graphql',
url: 'https://platform-dev-api.advancedalgos.net/graphql',
headers: {
Authorization: 'Bearer ' + authToken
}