Shawn 3 лет назад
Родитель
Сommit
e88529d55b
2 измененных файлов с 5 добавлено и 0 удалено
  1. 3 0
      changes/v5.0.14/fix-9703.en.md
  2. 2 0
      changes/v5.0.14/fix-9703.zh.md

+ 3 - 0
changes/v5.0.14/fix-9703.en.md

@@ -0,0 +1,3 @@
+Set the default value of the `qos` field of the HTTP API `/clients/:clientid/subscribe` to 0.
+Before this fix, the `qos` field have no default value, which leads to a `function_clause` error
+when querying this API.

+ 2 - 0
changes/v5.0.14/fix-9703.zh.md

@@ -0,0 +1,2 @@
+将 HTTP 接口 `/clients/:clientid/subscribe` 的 `qos` 字段的默认值设置为 0。
+在此修复之前,`qos` 字段没有默认值,调用订阅接口的时候将导致 `function_clause` 错误。