callback parsed data

This commit is contained in:
jane 2021-06-04 22:25:22 -04:00
parent e746dad684
commit a4b28f5cdb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export function recv(callback, errorCallback) {
} }
else { else {
con.write(`success ..\n${JSON.stringify(parsed_data)}`); con.write(`success ..\n${JSON.stringify(parsed_data)}`);
callback(data); callback(parsed_data);
} }
}); });
con.on('close', () => { con.on('close', () => {