Просмотр исходного кода

Remove the default value of 'headers' field

Feng Lee 6 лет назад
Родитель
Сommit
2ed9e9480e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/emqx.hrl

+ 1 - 1
include/emqx.hrl

@@ -64,7 +64,7 @@
           %% Message flags
           flags :: #{atom() => boolean()},
           %% Message headers, or MQTT 5.0 Properties
-          headers = #{},
+          headers :: map(),
           %% Topic that the message is published to
           topic :: binary(),
           %% Message Payload