diff --git a/packages/td-tools/src/util/asset-interface-description.ts b/packages/td-tools/src/util/asset-interface-description.ts index acfa07187..b76a09097 100644 --- a/packages/td-tools/src/util/asset-interface-description.ts +++ b/packages/td-tools/src/util/asset-interface-description.ts @@ -298,7 +298,7 @@ export class AssetInterfaceDescriptionUtil { if (endpointMetadata?.value instanceof Array) { for (const v of endpointMetadata.value) { if (v.idShort === "security") { - if (v.value != null && v.value instanceof Array) { + if (v.value instanceof Array) { for (const securityValue of v.value) { if (securityValue.value != null) { security.push(securityValue.value);