mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-15 02:48:06 +03:00
falsy params.data, fixes #392
This commit is contained in:
parent
e56d352ce1
commit
e46218ffca
@ -189,9 +189,14 @@ window.urb.send = function(params,cb) {
|
|||||||
|
|
||||||
params.ship = params.ship || this.ship
|
params.ship = params.ship || this.ship
|
||||||
params.appl = params.appl || this.appl
|
params.appl = params.appl || this.appl
|
||||||
params.mark = params.mark || "json"
|
|
||||||
params.xyro = params.data || {}
|
params.xyro = params.data || {}
|
||||||
|
params.mark = params.mark || "json"
|
||||||
params.wire = params.wire || "/"
|
params.wire = params.wire || "/"
|
||||||
|
|
||||||
|
if(typeof(params.data) === 'undefined')
|
||||||
|
params.xyro = null
|
||||||
|
else
|
||||||
|
params.xyro = params.data
|
||||||
|
|
||||||
|
|
||||||
url = ["to",params.appl,params.mark]
|
url = ["to",params.appl,params.mark]
|
||||||
|
Loading…
Reference in New Issue
Block a user