callback parsed data
This commit is contained in:
parent
e746dad684
commit
a4b28f5cdb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export function recv(callback, errorCallback) {
|
|||
}
|
||||
else {
|
||||
con.write(`success ..\n${JSON.stringify(parsed_data)}`);
|
||||
callback(data);
|
||||
callback(parsed_data);
|
||||
}
|
||||
});
|
||||
con.on('close', () => {
|
||||
|
|
Loading…
Reference in a new issue