Skip to content

Commit

Permalink
Remove the single quote for the attribute path for sd jwt vc attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgios DIMTSAS authored and gdimtsas committed Feb 13, 2025
1 parent c21e7c5 commit 6796b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/constants/attestations-per-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('.') } }
}

Expand Down

0 comments on commit 6796b08

Please sign in to comment.