From 81ee6f81190344b6502a3546d9eff1a5cc352141 Mon Sep 17 00:00:00 2001 From: TULCHINSKI LIRAN Date: Tue, 31 Mar 2026 16:15:14 +0300 Subject: [PATCH] fix: change the proxy_read_timeout duration --- src/externalServices/catalog/cswClient.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/externalServices/catalog/cswClient.ts b/src/externalServices/catalog/cswClient.ts index 8cdd0f9..107d653 100644 --- a/src/externalServices/catalog/cswClient.ts +++ b/src/externalServices/catalog/cswClient.ts @@ -77,6 +77,7 @@ export class CswClient { if (result != undefined && Number(result.numberOfRecordsMatched) === 0) { return { nextRecord: 0, records: [] }; } + let records: { 'mc:productName': string; 'mc:productId': string }[]; if (result['mc:MC3DRecord'] !== undefined && Array.isArray(result['mc:MC3DRecord'])) { records = result['mc:MC3DRecord']; @@ -90,6 +91,7 @@ export class CswClient { productName: record['mc:productName'], productId: record['mc:productId'], })); + return { nextRecord: Number(result['nextRecord']), records: cswRecords,