fix: wording from copy-paste error
This commit is contained in:
parent
238603a101
commit
b72abaf661
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue