Skip to content

Commit

Permalink
Update packages/td-tools/src/util/asset-interface-description.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Cristiano Aguzzi <[email protected]>
  • Loading branch information
danielpeintner and relu91 authored Sep 21, 2023
1 parent 49c7bc7 commit 0a85399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/td-tools/src/util/asset-interface-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export class AssetInterfaceDescriptionUtil {
endpointMetadata?: Record<string, unknown>
): 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) {
Expand Down

0 comments on commit 0a85399

Please sign in to comment.