Skip to content

Commit 616208b

Browse files
didinelekodiakhq[bot]vladfrangu
authored
fix: deno compat (discordjs#10271)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
1 parent 3640fe7 commit 616208b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ws/src/ws/WebSocketShard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class WebSocketShard extends AsyncEventEmitter<WebSocketShardEventsMap> {
245245

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

248-
const connection = new WebSocketConstructor(url, {
248+
const connection = new WebSocketConstructor(url, [], {
249249
handshakeTimeout: this.strategy.options.handshakeTimeout ?? undefined,
250250
});
251251

0 commit comments

Comments
 (0)