Browse Source

prox

master
zeus 4 years ago
parent
commit
e9e3eb7e0a
  1. 9
      swarmlab-app/src/run/app.js

9
swarmlab-app/src/run/app.js

@ -437,14 +437,21 @@ async function getkey(key) {
await pubClient.get(key, function (err, reply) { await pubClient.get(key, function (err, reply) {
if(err){ if(err){
console.log('----------not fount------------')
console.log('----------error------------')
//resolve(null) //resolve(null)
return null return null
} }
else { else {
if(reply){
console.log('---------fount----------') console.log('---------fount----------')
//resolve(reply) //resolve(reply)
return reply return reply
}else{
console.log('----------not fount------------')
return null
}
} }
}) })
//}) //})

Loading…
Cancel
Save