mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
Update wsp.js
This commit is contained in:
parent
bf6a47351f
commit
73aae8edf0
@ -127,7 +127,7 @@
|
|||||||
key[Gun._.soul] = req.url.query[Gun._.soul];
|
key[Gun._.soul] = req.url.query[Gun._.soul];
|
||||||
}
|
}
|
||||||
console.log("tran.get", key);
|
console.log("tran.get", key);
|
||||||
gun.__.opt.wire.get(key, function(err, node){
|
(gun.__.opt.wire.get||function(key, cb){cb(null,null)})(key, function(err, node){
|
||||||
//tran.sub.scribe(req.tab, graph._[Gun._.soul]);
|
//tran.sub.scribe(req.tab, graph._[Gun._.soul]);
|
||||||
console.log("tran.get", key, "<---", err, node);
|
console.log("tran.get", key, "<---", err, node);
|
||||||
if(err || !node){
|
if(err || !node){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user