diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 363e11d..1c6b965 100755 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -476,7 +476,7 @@ async function iosend(data,issend,io,pubClient,user1){ //io.in(user).emit("logdata", reslog1); }else{ //if (await setkey(issend,'1')){ - await pubClient.set(issend, '1', function(err, res) { + pubClient.set(issend, '1', function(err, res) { }); console.log(issend + ' ---2 '+ JSON.stringify(reslog1)) io.in(user).emit("logdata", reslog1);