diff --git a/api/custom_module/sharkd_dict.js b/api/custom_module/sharkd_dict.js index f639cd5..a1581b9 100644 --- a/api/custom_module/sharkd_dict.js +++ b/api/custom_module/sharkd_dict.js @@ -186,15 +186,6 @@ send_req = async function(request, sock) { return null; } - let data = ''; - let chunk = await new_sock.read(); - - data += chunk; - while (_str_is_json(data) === false) { - chunk = await new_sock.read(); - data += chunk; - } - let result = await readAndParseSocket(new_sock); if ("result" in result) {