mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
panic
This commit is contained in:
parent
06ff44a865
commit
735afdced5
2
gun.js
2
gun.js
@ -401,7 +401,7 @@
|
||||
gun.shot.next(function(next){
|
||||
opt = opt || {};
|
||||
cb = cb || function(){};
|
||||
gun._.field = Gun.text.ify(field);
|
||||
gun._.field = Gun.text.ify(gun._.field);
|
||||
if(!gun._.node){
|
||||
if(Gun.is.value(val) || !Gun.obj.is(val)){
|
||||
return cb.call(gun, {err: Gun.log("No field exists to set the " + (typeof val) + " on.")});
|
||||
|
Loading…
x
Reference in New Issue
Block a user