Browse Source

Remove the default value of 'headers' field

Feng Lee 6 years ago
parent
commit
2ed9e9480e
1 changed files with 1 additions and 1 deletions
  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