From 2c18c51029da862347a2f9889a9b0327b6fdde8b Mon Sep 17 00:00:00 2001 From: daniyal Date: Wed, 21 Aug 2024 00:34:39 +0500 Subject: [PATCH] chore: quick fix --- src/controllers/RelayController.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/controllers/RelayController.ts b/src/controllers/RelayController.ts index 4137e86..860a3d4 100644 --- a/src/controllers/RelayController.ts +++ b/src/controllers/RelayController.ts @@ -282,10 +282,9 @@ export class RelayController { } // connect to all specified relays - const relayPromises = relayUrls.map((relayUrl) => { - console.log('being called from publish events') - return this.connectRelay(relayUrl) - }) + const relayPromises = relayUrls.map((relayUrl) => + this.connectRelay(relayUrl) + ) // Use Promise.allSettled to wait for all promises to settle const results = await Promise.allSettled(relayPromises)