From cd72dc11dda97e49576b4c8b35f9f28465691255 Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Tue, 21 Nov 2023 13:19:58 +0100 Subject: [PATCH] fix: missing emqx_action_info module mapping --- apps/emqx_bridge/src/emqx_action_info.erl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/emqx_bridge/src/emqx_action_info.erl b/apps/emqx_bridge/src/emqx_action_info.erl index 1cdf61dfd..b236558e1 100644 --- a/apps/emqx_bridge/src/emqx_action_info.erl +++ b/apps/emqx_bridge/src/emqx_action_info.erl @@ -224,7 +224,8 @@ initial_info_map() -> bridge_v1_type_to_action_type => #{}, action_type_to_bridge_v1_type => #{}, action_type_to_connector_type => #{}, - action_type_to_schema_module => #{} + action_type_to_schema_module => #{}, + action_type_to_info_module => #{} }. get_info_map(Module) -> @@ -258,5 +259,10 @@ get_info_map(Module) -> }, action_type_to_schema_module => #{ ActionType => Module:schema_module() + }, + action_type_to_info_module => #{ + ActionType => Module, + %% Alias the bridge V1 type to the action type + BridgeV1Type => Module } }.