From 709567bf16ace1c7ca95933b46edd877d1d62c42 Mon Sep 17 00:00:00 2001 From: Andres Vallecilla Date: Thu, 12 Dec 2024 23:14:03 -0500 Subject: [PATCH] fix: update --- .../src/controllers/credentials/CredentialTypeController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/main/src/controllers/credentials/CredentialTypeController.ts b/packages/main/src/controllers/credentials/CredentialTypeController.ts index c08cb71..2bf7ded 100644 --- a/packages/main/src/controllers/credentials/CredentialTypeController.ts +++ b/packages/main/src/controllers/credentials/CredentialTypeController.ts @@ -61,7 +61,7 @@ export class CredentialTypesController { return { id: record.credentialDefinitionId, name: (record.getTag('name') as string) ?? schema?.name, - version: (record.getTag('revocationDefinitionId') as string) ?? schema?.version, + version: (record.getTag('version') as string) ?? schema?.version, attributes: schema?.attrNames || [], revocationId: record.getTag('revocationDefinitionId') as string, } @@ -176,7 +176,6 @@ export class CredentialTypesController { options: {}, }) - this.logger.log(`revStatusListResult: ${JSON.stringify(revStatusListResult)}`) this.logger.log(`Credential Definition Id: ${credentialDefinitionId}`) this.logger.log(`Revocation Definition Id: ${revocationDefinitionId}`)