Browse Source

fix: retainer api doc qos enum (#5614)

DDDHuang 4 năm trước cách đây
mục cha
commit
cfe4e37d50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/emqx_retainer/src/emqx_retainer_api.erl

+ 1 - 1
apps/emqx_retainer/src/emqx_retainer_api.erl

@@ -44,7 +44,7 @@ message_props() ->
     properties([
         {id, string, <<"Message ID">>},
         {topic, string, <<"MQTT Topic">>},
-        {qos, string, <<"MQTT QoS">>},
+        {qos, integer, <<"MQTT QoS">>, [0, 1, 2]},
         {payload, string, <<"MQTT Payload">>},
         {publish_at, string, <<"Publish datetime, in RFC 3339 format">>},
         {from_clientid, string, <<"Publisher ClientId">>},