chore: quick fix
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 33s

This commit is contained in:
daniyal 2024-08-21 00:34:39 +05:00
parent f9fcfb1c9e
commit 2c18c51029

View File

@ -282,10 +282,9 @@ export class RelayController {
} }
// connect to all specified relays // connect to all specified relays
const relayPromises = relayUrls.map((relayUrl) => { const relayPromises = relayUrls.map((relayUrl) =>
console.log('being called from publish events') this.connectRelay(relayUrl)
return this.connectRelay(relayUrl) )
})
// Use Promise.allSettled to wait for all promises to settle // Use Promise.allSettled to wait for all promises to settle
const results = await Promise.allSettled(relayPromises) const results = await Promise.allSettled(relayPromises)