fix: missing emqx_action_info module mapping

This commit is contained in:
Kjell Winblad 2023-11-21 13:19:58 +01:00
parent 6030bf6fa5
commit cd72dc11dd
1 changed files with 7 additions and 1 deletions

View File

@ -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
}
}.