webhooks without plotters working

This commit is contained in:
Luis Fernando Molina committed 2020-04-18 08:04:20 +02:00
1 parent baa1a2cfb1
commit 986f1cc7a1
13 files changed
+333 -262

No files matched your search

+1
View File
@@ -177,6 +177,7 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
let exchange = requestParameters[3]
let market = requestParameters[4]
/* Some validations */
if (exchange === undefined) {
console.log('[WARN] webServer -> Webhook -> Fetch-Messages -> Message with no Exchange received -> messageReceived = ' + messageReceived)
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), response)