From f00be8945ec7c6eaf4686192f401a8e927a7e4c3 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 12 Dec 2023 09:56:30 -0800 Subject: [PATCH] prettify --- src/wsConnectionManager.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wsConnectionManager.ts b/src/wsConnectionManager.ts index 43e219f..401c6fc 100644 --- a/src/wsConnectionManager.ts +++ b/src/wsConnectionManager.ts @@ -260,9 +260,11 @@ async function main() { // Set interval to send heartbeat every 5 seconds setInterval(() => { - ws.send(JSON.stringify({ - channel: 'heartbeat' - })); + ws.send( + JSON.stringify({ + channel: 'heartbeat', + }) + ); }, 5000); });