From cff3202a1be62b7c070791de30d196bc668400ad Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Mon, 19 Jun 2023 13:42:06 +0200 Subject: [PATCH] Don't fail when textkali.STRUCT is nullish --- src/lib/server/aggregates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/aggregates.ts b/src/lib/server/aggregates.ts index 206a26d..309bdc2 100644 --- a/src/lib/server/aggregates.ts +++ b/src/lib/server/aggregates.ts @@ -72,7 +72,7 @@ export class Aggregator { if (this.follow.has("STRUCT.LIEN_SECTION_TA.@id")) { for (const lien of iterArrayOrSingleton( - textekali.STRUCT.LIEN_SECTION_TA, + textekali.STRUCT?.LIEN_SECTION_TA, )) { this.requestId(lien["@id"]) }