Skip to content

Commit

Permalink
fix: preserve customData for webservice-like assets
Browse files Browse the repository at this point in the history
  • Loading branch information
metabacalhau committed Oct 24, 2024
1 parent be2cb29 commit 95533cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nevermined/api/RegistryBaseApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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],
},
}
Expand Down

0 comments on commit 95533cb

Please sign in to comment.