Skip to content

Commit

Permalink
Merge pull request #8949 from JimMoen/fix-mqtt-bridge-payload
Browse files Browse the repository at this point in the history
fix: mqtt bridge payload default value
  • Loading branch information
JimMoen committed Sep 14, 2022
2 parents ef467c4 + b5bf5d3 commit 122a5b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Fix that redis authn will deny the unknown users [#8934](https://github.com/emqx/emqx/pull/8934)
* Fix ExProto UDP client keepalive checking error.
This causes the clients to not expire as long as a new UDP packet arrives [#8866](https://github.com/emqx/emqx/pull/8866)
* Fix that MQTT Bridge message payload could be empty string. [#8949](https://github.com/emqx/emqx/pull/8949)

## Enhancements

Expand Down
4 changes: 2 additions & 2 deletions apps/emqx_connector/src/mqtt/emqx_connector_mqtt_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ fields("ingress") ->
sc(
binary(),
#{
default => <<"${payload}">>,
default => undefined,
desc => ?DESC("payload")
}
)}
Expand Down Expand Up @@ -224,7 +224,7 @@ fields("egress") ->
sc(
binary(),
#{
default => <<"${payload}">>,
default => undefined,
desc => ?DESC("payload")
}
)}
Expand Down

0 comments on commit 122a5b4

Please sign in to comment.