From 6796b08c1b4f270ff4f81fa551cc9bf6e643fe69 Mon Sep 17 00:00:00 2001 From: Georgios DIMTSAS Date: Thu, 13 Feb 2025 11:48:33 +0200 Subject: [PATCH] Remove the single quote for the attribute path for sd jwt vc attributes --- src/app/core/constants/attestations-per-format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/constants/attestations-per-format.ts b/src/app/core/constants/attestations-per-format.ts index 2e22600..f76af28 100644 --- a/src/app/core/constants/attestations-per-format.ts +++ b/src/app/core/constants/attestations-per-format.ts @@ -32,7 +32,7 @@ export const PID_SD_JWT_VC: SdJwtVcAttestation = { format: AttestationFormat.SD_JWT_VC, vct: "urn:eu.europa.ec.eudi:pid:1", attestationDef: PID_ATTESTATION, - attributePath: (attribute: DataElement) => { return `'$.'${sdJwtVcAttributePath(attribute, AttestationType.PID)}` }, + attributePath: (attribute: DataElement) => { return `$.${sdJwtVcAttributePath(attribute, AttestationType.PID)}` }, claimPath: (attribute: DataElement) => { return { path: sdJwtVcAttributePath(attribute, AttestationType.PID).split('.') } } }