From 78b46cb8923f513c91d6400871f0a3832305a6f3 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 22:31:38 +0200 Subject: [PATCH] async --- swarmlab-app/src/run/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 4ce339c..62ab1cf 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -462,7 +462,7 @@ function onCollection(err, collection) { var resob = {} await pubClient.get(pathfileval, function(err, object) { console.log('----------------' + err + '<<<<<<<<<<<<<<<<<<<<<<' + object); - if(ress == null){ + if(err == null){ indexupdate = "no" }else{ console.log('redis '+JSON.stringify(object));