Skip to content

Commit

Permalink
fix: wrong pick
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Nov 22, 2024
1 parent 69e2535 commit e0f85d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nevermined/api/RegistryBaseApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ export abstract class RegistryBaseApi extends Instantiable {

if (
(metadataService.attributes.main.type === 'service' ||
assetAttributes.metadata.main.type === 'assistant' ||
assetAttributes.metadata.main.type === 'agent') &&
metadataService.attributes.main.type === 'assistant' ||
metadataService.attributes.main.type === 'agent') &&
metadataService.attributes.main.webService.internalAttributes
) {
const encryptedServiceAttributesResponse = await this.nevermined.services.node.encrypt(
Expand Down

0 comments on commit e0f85d1

Please sign in to comment.