Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
janrtvld committed Nov 11, 2024
1 parent 8118709 commit 64b7718
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/agent/src/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ export function getCredentialForDisplay(credentialRecord: W3cCredentialRecord |
validUntil: credentialRecord.credential.expirationDate
? new Date(credentialRecord.credential.expirationDate)
: undefined,
validFrom: credentialRecord.credential.issuanceDate,
validFrom: credentialRecord.credential.issuanceDate
? new Date(credentialRecord.credential.issuanceDate)
: undefined,
}
}

Expand Down

0 comments on commit 64b7718

Please sign in to comment.