Skip to content

Commit

Permalink
chore(): rm unused reject
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Oct 8, 2024
1 parent 0c58670 commit b61739d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo-trading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit b61739d

Please sign in to comment.