bugfixing
This commit is contained in:
parent
1dc6376c9c
commit
00f225c8cd
@ -191,8 +191,8 @@ fastify.register(async function (fastify) {
|
|||||||
|
|
||||||
// Check if bpData is a number, not equal to zero, and jsonData properties are not null/undefined
|
// Check if bpData is a number, not equal to zero, and jsonData properties are not null/undefined
|
||||||
if (
|
if (
|
||||||
jsonData?.bp != null &&
|
//jsonData?.bp != null &&
|
||||||
jsonData?.ap != null &&
|
//jsonData?.ap != null &&
|
||||||
jsonData?.lp != null &&
|
jsonData?.lp != null &&
|
||||||
jsonData?.t != null &&
|
jsonData?.t != null &&
|
||||||
["Q", "T"]?.includes(jsonData?.type) &&
|
["Q", "T"]?.includes(jsonData?.type) &&
|
||||||
@ -211,7 +211,7 @@ fastify.register(async function (fastify) {
|
|||||||
isSend = true;
|
isSend = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
isSend = false;
|
isSend = false;
|
||||||
}, 1000);
|
}, 500);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Error parsing JSON:", error);
|
console.error("Error parsing JSON:", error);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user