Bug fixes
This commit is contained in:
parent
6f09555e35
commit
32cc66fad4
2 changed files with 16 additions and 8 deletions
|
|
@ -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"
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -792,7 +792,7 @@ class Mediator {
|
||||||
try {
|
try {
|
||||||
const { token } = body
|
const { token } = body
|
||||||
|
|
||||||
console.log('ON_CHATS', body)
|
// console.log('ON_CHATS', body)
|
||||||
|
|
||||||
await throwOnInvalidToken(token)
|
await throwOnInvalidToken(token)
|
||||||
|
|
||||||
|
|
@ -894,9 +894,9 @@ class Mediator {
|
||||||
|
|
||||||
API.Events.onSimplerReceivedRequests(receivedRequests => {
|
API.Events.onSimplerReceivedRequests(receivedRequests => {
|
||||||
if (Config.SHOW_LOG) {
|
if (Config.SHOW_LOG) {
|
||||||
console.log('---receivedRequests---')
|
// console.log('---receivedRequests---')
|
||||||
console.log(receivedRequests)
|
// console.log(receivedRequests)
|
||||||
console.log('-----------------------')
|
// console.log('-----------------------')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.socket.emit(Event.ON_RECEIVED_REQUESTS, {
|
this.socket.emit(Event.ON_RECEIVED_REQUESTS, {
|
||||||
|
|
@ -931,9 +931,9 @@ class Mediator {
|
||||||
|
|
||||||
API.Events.onSimplerSentRequests(
|
API.Events.onSimplerSentRequests(
|
||||||
debounce(sentRequests => {
|
debounce(sentRequests => {
|
||||||
console.log(
|
// console.log(
|
||||||
`new Reqss in mediator: ${JSON.stringify(sentRequests)}`
|
// `new Reqss in mediator: ${JSON.stringify(sentRequests)}`
|
||||||
)
|
// )
|
||||||
this.socket.emit(Event.ON_SENT_REQUESTS, {
|
this.socket.emit(Event.ON_SENT_REQUESTS, {
|
||||||
msg: sentRequests,
|
msg: sentRequests,
|
||||||
ok: true,
|
ok: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue