This commit is contained in:
jane 2021-05-27 14:34:15 -04:00
parent 65aee2f83c
commit 8f9290f3f4

View file

@ -18,7 +18,7 @@ export function recv(callback, errorCallback) {
con.remoteAddress + ":" + con.remotePort);
let data = [];
for (let key of Object.keys(functions)) {
data.push({ n: key, a: reqs[key] })
data.push({ n: key, a: reqs[key] || true });
}
let functions_str = JSON.stringify(data);
con.write(functions_str);