forked from iod/ControlProxy
update
This commit is contained in:
parent
8797e0c309
commit
82dc43d174
@ -60,7 +60,7 @@ module networking {
|
||||
"msg":"no permission", "code":1
|
||||
});
|
||||
}
|
||||
var ret = executeContract(Global.router, "updateLRS", arg);
|
||||
var ret = executeContract(Global.router, "updateLRS", JSON.stringify(arg));
|
||||
var obj = ret.result;
|
||||
if (obj.result=="success" || obj.result == undefined) {
|
||||
obj.result = undefined;
|
||||
@ -83,7 +83,7 @@ module networking {
|
||||
"msg":"no permission", "code":1
|
||||
});
|
||||
}
|
||||
var ret = executeContract(Global.router, "createLRS", arg);
|
||||
var ret = executeContract(Global.router, "createLRS", JSON.stringify(arg));
|
||||
var obj = ret.result;
|
||||
if (obj.result=="success" || obj.result == undefined) {
|
||||
obj.result = undefined;
|
||||
@ -106,7 +106,7 @@ module networking {
|
||||
"msg":"no permission", "code":1
|
||||
});
|
||||
}
|
||||
var ret = executeContract(Global.router, "deleteLRS", arg);
|
||||
var ret = executeContract(Global.router, "deleteLRS", JSON.stringify(arg));
|
||||
var obj = ret.result;
|
||||
if (obj.result=="success" || obj.result == undefined) {
|
||||
obj.result = undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user