diff --git a/packages/td-tools/src/util/asset-interface-description.ts b/packages/td-tools/src/util/asset-interface-description.ts index c67e3b718..acfa07187 100644 --- a/packages/td-tools/src/util/asset-interface-description.ts +++ b/packages/td-tools/src/util/asset-interface-description.ts @@ -295,7 +295,7 @@ export class AssetInterfaceDescriptionUtil { endpointMetadata?: Record ): string | [string, ...string[]] { const security: string[] = []; - if (endpointMetadata?.value != null && endpointMetadata.value instanceof Array) { + if (endpointMetadata?.value instanceof Array) { for (const v of endpointMetadata.value) { if (v.idShort === "security") { if (v.value != null && v.value instanceof Array) {