From b61739dceab4788b43ccbd1749344c38c47ae6b8 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Tue, 8 Oct 2024 09:18:00 +0100 Subject: [PATCH] chore(): rm unused reject --- examples/demo-trading.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/demo-trading.ts b/examples/demo-trading.ts index 12b7f48..36a0aaa 100644 --- a/examples/demo-trading.ts +++ b/examples/demo-trading.ts @@ -50,7 +50,7 @@ function setWsClientEventListeners( websocketClient: WebsocketClient, accountRef: string, ): Promise { - 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));