From 63403896cad9f5a90b7ee9e21dd87f8a798b28cf Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Tue, 10 Dec 2024 16:55:19 +0100 Subject: [PATCH] update time interval --- fastify/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastify/app.js b/fastify/app.js index 0f610c9..2f32091 100755 --- a/fastify/app.js +++ b/fastify/app.js @@ -282,7 +282,7 @@ try { jsonData?.ap != null && jsonData?.bp != null && jsonData?.t != null && - ["Q", "T"].includes(jsonData?.type) && + ["Q","T"]?.includes(jsonData?.type) && connection.socket.readyState === WebSocket.OPEN ) { const avgPrice = (