diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index a3aa80e..c7f57b1 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -450,8 +450,11 @@ function onCollection(err, collection) { resobarray.push(resob1) var resob1string = JSON.stringify(resob1); console.log('+++++++++++++++++' + resob1string + '<<<<<<<<<<<<<<<<<<<<<<' + pathfileval); - pubClient.hmset(pathfileval,resob1string) - await pubClient.hgetall(pathfileval, function(err, object) { + //pubClient.hmset(pathfileval,resob1string) + pubClient.hmset(pathfileval, resob1string, function(err, res) { + console.log('====================================================== '+JSON.stringify(res)); + }); + await pubClient.hgetall(pathfileval, function(err, object) { console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(object)); }); //}