fix: wording from copy-paste error

This commit is contained in:
Stefan Strigler 2023-10-24 16:00:48 +02:00 committed by Zaiming (Stone) Shi
parent 238603a101
commit b72abaf661
1 changed files with 3 additions and 3 deletions

View File

@ -223,9 +223,9 @@ post_request() ->
api_schema(Method) -> api_schema(Method) ->
EE = enterprise_api_schemas(Method), EE = enterprise_api_schemas(Method),
hoconsc:union(bridge_api_union(EE)). hoconsc:union(connector_api_union(EE)).
bridge_api_union(Refs) -> connector_api_union(Refs) ->
Index = maps:from_list(Refs), Index = maps:from_list(Refs),
fun fun
(all_union_members) -> (all_union_members) ->
@ -238,7 +238,7 @@ bridge_api_union(Refs) ->
throw(#{ throw(#{
field_name => type, field_name => type,
value => T, value => T,
reason => <<"unknown bridge type">> reason => <<"unknown connector type">>
}); });
Ref -> Ref ->
[Ref] [Ref]