From 8608806b1ba64c28a3a0ab0e8f45a92a31c046d9 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 28 Nov 2020 22:38:47 +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 62ab1cf..3b19b39 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(err == null){ + if(object){ indexupdate = "no" }else{ console.log('redis '+JSON.stringify(object));