Skip to content

Commit 73d4496

Browse files
committed
Typo
1 parent 522eda1 commit 73d4496

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Publish a message.
261261
- message: string
262262

263263
**Optional:**
264-
- qos: int = 1, 2 or 3
264+
- qos: int = 0, 1 or 2
265265
- retain: bool = true or false
266266

267267
**Publish message:**

src/nmqtt.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ proc publish*(ctx: MqttCtx, topic: string, message: string, qos=0, retain=false)
673673
## - message: string
674674
##
675675
## **Optional:**
676-
## - qos: int = 1, 2 or 3
676+
## - qos: int = 0, 1 or 2
677677
## - retain: bool = true or false
678678
##
679679
##

0 commit comments

Comments
 (0)