Skip to content

Commit

Permalink
fix: deno compat
Browse files Browse the repository at this point in the history
  • Loading branch information
didinele committed May 12, 2024
1 parent 393ded4 commit 619e68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ws/src/ws/WebSocketShard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {

this.debug([`Connecting to ${url}`]);

const connection = new WebSocketConstructor(url, {
const connection = new WebSocketConstructor(url, [], {
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
});

Expand Down

0 comments on commit 619e68f

Please sign in to comment.