From 32cc66fad404aed6a7a5a1bb04d3c4ff05b9ee0c Mon Sep 17 00:00:00 2001 From: emad-salah Date: Mon, 17 Feb 2020 22:24:14 +0100 Subject: [PATCH] Bug fixes --- services/auth/secrets.json | 10 +++++++++- services/gunDB/Mediator/index.js | 14 +++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/services/auth/secrets.json b/services/auth/secrets.json index 0967ef42..8fce8ee3 100644 --- a/services/auth/secrets.json +++ b/services/auth/secrets.json @@ -1 +1,9 @@ -{} +{ + "1581957394733": "a92254e0-51a3-11ea-b10f-df8508e8b603", + "1581957773885": "8b202ed0-51a4-11ea-a0c5-5badab33daa8", + "1581958187220": "817e4050-51a5-11ea-bcd5-7f4db8cfd5a0", + "1581958393289": "fc51bb90-51a5-11ea-bb3c-2f0cf8e3df45", + "1581959300216": "18e3cf80-51a8-11ea-85bc-9131669d4e54", + "1581960697002": "597070a0-51ab-11ea-be48-7961189fa60f", + "1581961830350": "fcf79ee0-51ad-11ea-884e-bb0b313d8e64" +} diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index 31c8d2ae..94161aad 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -792,7 +792,7 @@ class Mediator { try { const { token } = body - console.log('ON_CHATS', body) + // console.log('ON_CHATS', body) await throwOnInvalidToken(token) @@ -894,9 +894,9 @@ class Mediator { API.Events.onSimplerReceivedRequests(receivedRequests => { if (Config.SHOW_LOG) { - console.log('---receivedRequests---') - console.log(receivedRequests) - console.log('-----------------------') + // console.log('---receivedRequests---') + // console.log(receivedRequests) + // console.log('-----------------------') } this.socket.emit(Event.ON_RECEIVED_REQUESTS, { @@ -931,9 +931,9 @@ class Mediator { API.Events.onSimplerSentRequests( debounce(sentRequests => { - console.log( - `new Reqss in mediator: ${JSON.stringify(sentRequests)}` - ) + // console.log( + // `new Reqss in mediator: ${JSON.stringify(sentRequests)}` + // ) this.socket.emit(Event.ON_SENT_REQUESTS, { msg: sentRequests, ok: true,