fix(emqx_connector): fix badarity error

This commit is contained in:
Serge Tupchii 2023-10-30 15:58:06 +02:00
parent d1cd5dd817
commit 0935bb6225
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ post_config_update([?ROOT_KEY], _Req, NewConf, OldConf, _AppEnv) ->
Result = perform_connector_changes([
#{action => fun emqx_connector_resource:remove/4, data => Removed},
#{
action => fun emqx_connector_resource:create/3,
action => fun emqx_connector_resource:create/4,
data => Added,
on_exception_fn => fun emqx_connector_resource:remove/4
},