|
|
@ -465,6 +465,7 @@ function onCollection(err, collection) { |
|
|
|
if(object){ |
|
|
|
reslog.log = data |
|
|
|
var user1 = objecttmp.user25user.replace(/[\n\t\r]/g,"") |
|
|
|
/* |
|
|
|
(async() => { |
|
|
|
await pubClient.get(issend, function(err, object) { |
|
|
|
if(object){ |
|
|
@ -475,6 +476,7 @@ function onCollection(err, collection) { |
|
|
|
} |
|
|
|
}); |
|
|
|
})() //await inside yes
|
|
|
|
*/ |
|
|
|
io.in(user1).emit("logdata", reslog); |
|
|
|
console.log(' --- '+ JSON.stringify(reslog)) |
|
|
|
//console.log(' --->> '+ JSON.stringify(user1))
|
|
|
|