Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #783 from 0xPolygonID/fix_remove_sessionID_from_au…
Browse files Browse the repository at this point in the history
…thQRCode

fix: Do not expect sessionID in authQRCode response
x1m3 authored Sep 16, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 29406e8 + 43ece20 commit 824c6e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/src/adapters/api/credentials.ts
Original file line number Diff line number Diff line change
@@ -599,15 +599,13 @@ export type AuthQRCode = {
deepLink: string;
linkDetail: { proofTypes: ProofType[]; schemaType: string };
qrCodeRaw: string;
sessionID: string;
};

const authQRCodeParser = getStrictParser<AuthQRCodeInput, AuthQRCode>()(
z.object({
deepLink: z.string(),
linkDetail: z.object({ proofTypes: proofTypeParser, schemaType: z.string() }),
qrCodeRaw: z.string(),
sessionID: z.string(),
})
);

0 comments on commit 824c6e6

Please sign in to comment.