diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index ed7334b..4ce339c 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -452,6 +452,7 @@ function onCollection(err, collection) { var issend = getSHA256ofJSON(issendob) console.log('++++++++' + JSON.stringify(data)); + console.log('++++++++' + JSON.stringify(issend)); var pathfileval = pathmodule.basename(data.tailed_path); var arrfile = pathfileval.toString().split("-"); @@ -461,7 +462,7 @@ function onCollection(err, collection) { var resob = {} await pubClient.get(pathfileval, function(err, object) { console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); - if(object){ + if(ress == null){ indexupdate = "no" }else{ console.log('redis '+JSON.stringify(object));