Skip to content

Commit 93b15b3

Browse files
Update content/microservices/mqtt.md
1 parent 0f2e4d6 commit 93b15b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/microservices/mqtt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ getTemperature(context) {
118118

119119
#### Quality of Service (QoS)
120120

121-
Any subscription created with the `@MessagePattern` decorator will subscribe with QoS 0. If a higher QoS is required, it can be set globally using the `subscribeOptions` block when establishing the connection as follows:
121+
Any subscription created with `@MessagePattern` or `@EventPattern` decorators will subscribe with QoS 0. If a higher QoS is required, it can be set globally using the `subscribeOptions` block when establishing the connection as follows:
122122
```typescript
123123
@@filename(main)
124124
const app = await NestFactory.createMicroservice<MicroserviceOptions>(AppModule, {

0 commit comments

Comments
 (0)