Skip to content

Commit bb9a024

Browse files
authored
fix: Fix small typo in Redis Pub/Sub docs (#2400)
1 parent 7a0334f commit bb9a024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pub-sub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Pub/Sub requires a dedicated stand-alone client. You can easily get one by `.dup
88

99
```typescript
1010
const subscriber = client.duplicate();
11-
subscribe.on('error', err => console.error(err));
11+
subscriber.on('error', err => console.error(err));
1212
await subscriber.connect();
1313
```
1414

0 commit comments

Comments
 (0)