update channel + txpower
This commit is contained in:
parent
d62f3d62ef
commit
10b80c4172
|
@ -13,6 +13,8 @@ function routeNodesPrivEvent(nodeid,attr,attr2){
|
|||
if(internal.aliases[nodeid][attr] == undefined){
|
||||
internal.aliases[nodeid][attr] = {}
|
||||
}
|
||||
if(attr == "wireless")
|
||||
value = parseInt(value)
|
||||
internal.aliases[nodeid][attr][attr2] = value
|
||||
}
|
||||
send('POST',internal.config.api+'/aliases/alias/'+nodeid,internal.aliases[nodeid])
|
||||
|
|
Loading…
Reference in New Issue