Skip to content

Commit

Permalink
test: resolve -> return
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Feb 3, 2023
1 parent 5ba53be commit ea81894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/tribes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function initializeClient(
clients[pubkey][host] &&
clients[pubkey][host].connected
) {
resolve(clients[pubkey][host])
return clients[pubkey][host]
return
}
sphinxLogger.info(`connected!`, logging.Tribes)
Expand All @@ -102,7 +102,7 @@ async function initializeClient(
sphinxLogger.error(`error subscribing ${err}`, logging.Tribes)
else {
sphinxLogger.info(`subscribed! ${pubkey}/#`, logging.Tribes)
resolve(cl)
return cl
}
})
})
Expand Down

0 comments on commit ea81894

Please sign in to comment.