Skip to content

Commit

Permalink
Make expiration date in Veriff creds always empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtuttle committed Jul 21, 2023
1 parent 53d4127 commit 8cba6d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/services/veriff/credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ function extractCreds(session) {
ethers.BigNumber.from(x)
);
const addressHash = ethers.BigNumber.from(poseidon(addressArgs)).toString();
const expireDateSr = session.verification.document?.validUntil ?? "";
// BIG NOTE: We are not including expiration date in issued credentials, but
// we might in the future.
// const expireDateSr = session.verification.document?.validUntil ?? "";
const expireDateSr = "";
const expireDateNum = expireDateSr ? getDateAsInt(expireDateSr) : 0;
const nameDobAddrExpireArgs = [
nameHash,
Expand Down

0 comments on commit 8cba6d4

Please sign in to comment.