From 855e8e384785441056ee2cd388fdf1c4491b3314 Mon Sep 17 00:00:00 2001 From: razbroc Date: Mon, 18 Nov 2024 15:37:28 +0200 Subject: [PATCH] fix: remove layerPolygonParts from response --- src/createPackage/models/createPackageManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/createPackage/models/createPackageManager.ts b/src/createPackage/models/createPackageManager.ts index c8938b3..2ddc4bd 100644 --- a/src/createPackage/models/createPackageManager.ts +++ b/src/createPackage/models/createPackageManager.ts @@ -306,6 +306,7 @@ export class CreatePackageManager { }); try { const record = await this.rasterCatalogManager.findLayer(job.internalId as string); + delete record.metadata.layerPolygonParts; const featuresRecords = parseFeatureCollection(job.parameters.roi); const metadataFileName = job.parameters.fileNamesTemplates.metadataURI;