+data_size with counting

main
prplV 2024-10-23 14:45:56 +03:00
parent e2c4e322ed
commit aa9e68b96d
1 changed files with 1 additions and 1 deletions

2
thirdparty/index.js vendored
View File

@ -68,6 +68,7 @@ $(window).ready(function () {
case 'send':
return JSON.stringify({
"request_type": "0x01",
"data_size" : String(1 + 4 + 4*packet.data.split(' ').length),
"additional_header": {
"wrd": packet.wrd,
"auto_increment": packet.inc,
@ -147,7 +148,6 @@ $(window).ready(function () {
});
}
$('#connect-btn').click(function() {
if (!apiIsAlive) {
err_msg_conn("Cannot work without API-Server. Check its health...");