send upper case
This commit is contained in:
parent
8f9290f3f4
commit
ab651e090a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export function recv(callback, errorCallback) {
|
||||||
con.remoteAddress + ":" + con.remotePort);
|
con.remoteAddress + ":" + con.remotePort);
|
||||||
let data = [];
|
let data = [];
|
||||||
for (let key of Object.keys(functions)) {
|
for (let key of Object.keys(functions)) {
|
||||||
data.push({ n: key, a: reqs[key] || true });
|
data.push({ n: key.toUpperCase(), a: reqs[key] || true });
|
||||||
}
|
}
|
||||||
let functions_str = JSON.stringify(data);
|
let functions_str = JSON.stringify(data);
|
||||||
con.write(functions_str);
|
con.write(functions_str);
|
||||||
|
|
Loading…
Reference in a new issue