Skip to content

Commit 402302f

Browse files
Update adapter.md
1 parent 3d4a791 commit 402302f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/websockets/adapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class WsAdapter implements WebSocketAdapter {
9292
constructor(private app: INestApplicationContext) {}
9393

9494
create(port: number, options: any = {}): any {
95-
return new ws.Server({ port, ...options });
95+
return new WebSocket.Server({ port, ...options });
9696
}
9797

9898
bindClientConnect(server, callback: Function) {

0 commit comments

Comments
 (0)