fix: fix list difference precedence

```erlang
1> [a, b, c] ++ [d] -- [a].
[a,b,c,d]
2> ([a, b, c] ++ [d]) -- [a].
[b,c,d]
```
This commit is contained in:
Thales Macedo Garitezi 2022-07-04 14:25:32 -03:00
parent 0e55fabfda
commit 1a6cf38c00
2 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,13 @@ File format:
- One list item per change topic
Change log ends with a list of github PRs
## v4.3.17
### Bug fixes
- Fixed issue where the dashboard APIs were being exposed under the
management listener. [#8411]
## v4.3.16
### Enhancements

View File

@ -91,7 +91,7 @@ listener_name(Proto) ->
http_handlers() ->
Plugins = lists:map(fun(Plugin) -> Plugin#plugin.name end, emqx_plugins:list()),
[{"/api/v4", minirest:handler(#{apps => Plugins ++ [emqx_modules] -- ?EXCEPT_PLUGIN,
[{"/api/v4", minirest:handler(#{apps => (Plugins ++ [emqx_modules]) -- ?EXCEPT_PLUGIN,
except => ?EXCEPT,
filter => fun ?MODULE:filter/1}),
[{authorization, fun ?MODULE:authorize_appid/1}]}].