mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
oops, pluck needs new object to go into
This commit is contained in:
parent
ead5893dfb
commit
4f41129028
2
gun.js
2
gun.js
@ -442,7 +442,7 @@
|
||||
if(!node){ return root.on('get', msg) }
|
||||
if(has){
|
||||
if('string' != typeof has || u === node[has]){ return root.on('get', msg) }
|
||||
node = state_ify(node, has, state_is(node, has), node[has]);
|
||||
node = state_ify({}, has, state_is(node, has), node[has]);
|
||||
// If we have a key in-memory, do we really need to fetch?
|
||||
// Maybe... in case the in-memory key we have is a local write
|
||||
// we still need to trigger a pull/merge from peers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user