Skip to content

Commit

Permalink
fix: Fix small typo in Redis Pub/Sub docs (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumitradev committed Jan 30, 2023
1 parent 7a0334f commit bb9a024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pub-sub.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pub/Sub requires a dedicated stand-alone client. You can easily get one by `.dup

```typescript
const subscriber = client.duplicate();
subscribe.on('error', err => console.error(err));
subscriber.on('error', err => console.error(err));
await subscriber.connect();
```

Expand Down

0 comments on commit bb9a024

Please sign in to comment.