Removing hardcoded variables

This commit is contained in:
mati108@gmail.com committed 2019-02-10 17:30:14 -03:00
1 parent 8e97637cb7
commit 8953933938
6 files changed
+140 -137

No files matched your search

+1 -1
View File
@@ -812,7 +812,7 @@ function onBrowserRequest(request, response) {
const EXCHANGE_API = require('./Server/Exchange/ExchangeAPI');
let exchangeAPI = EXCHANGE_API.newExchangeAPI(botDisplayName, authToken);
exchangeAPI.initialize(onInizialized);
exchangeAPI.initialize(serverConfig, onInizialized);
function onInizialized(err) {
if (CONSOLE_LOG === true) { console.log("[INFO] server -> onBrowserRequest -> ExchangeAPI -> onInizialized -> Entering function."); }