From 95533cbdf7cd9d95ccbeece383e880ce101e6b02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iurii=20=E1=9A=BE?= Date: Thu, 24 Oct 2024 11:14:59 +0200 Subject: [PATCH] fix: preserve customData for webservice-like assets --- src/nevermined/api/RegistryBaseApi.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nevermined/api/RegistryBaseApi.ts b/src/nevermined/api/RegistryBaseApi.ts index e6ef12fd6..498ed66e8 100644 --- a/src/nevermined/api/RegistryBaseApi.ts +++ b/src/nevermined/api/RegistryBaseApi.ts @@ -172,6 +172,7 @@ export abstract class RegistryBaseApi extends Instantiable { assetAttributes.metadata.additionalInformation = { ...assetAttributes.metadata.additionalInformation, customData: { + ...assetAttributes.metadata.additionalInformation?.customData, openApi: assetAttributes.metadata.main.webService?.openEndpoints[0], }, }