Skip to content

Commit 88fb1cd

Browse files
Update adapter.md
1 parent 022beca commit 88fb1cd

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
@@ -37,7 +37,7 @@ Once the package is installed, we can create a `RedisIoAdapter` class.
3737

3838
```typescript
3939
import { IoAdapter } from '@nestjs/platform-socket.io';
40-
import redisIoAdapter from 'socket.io-redis';
40+
import * as redisIoAdapter from 'socket.io-redis';
4141

4242
export class RedisIoAdapter extends IoAdapter {
4343
createIOServer(port: number, options?: any): any {

0 commit comments

Comments
 (0)