chore(): rm unused reject

This commit is contained in:
tiagosiebler
2024-10-08 09:18:00 +01:00
parent 0c58670862
commit b61739dcea

View File

@@ -50,7 +50,7 @@ function setWsClientEventListeners(
websocketClient: WebsocketClient,
accountRef: string,
): Promise<void> {
return new Promise((resolve, reject) => {
return new Promise((resolve) => {
websocketClient.on('update', (data) => {
console.log(new Date(), accountRef, 'data ', JSON.stringify(data));
// console.log('raw message received ', JSON.stringify(data, null, 2));