Skip to content

Commit

Permalink
feat: fix: some nits
Browse files Browse the repository at this point in the history
  • Loading branch information
auer-martin committed Oct 8, 2024
1 parent f713a59 commit 2b61629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/agent/AgentModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function getDefaultAgentModules() {
pex: () => new DifPresentationExchangeModule(),
sdJwtVc: () => new SdJwtVcModule(),
x509: () => new X509Module(),
mod: () => new MdocModule(),
mdoc: () => new MdocModule(),
} as const
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class OpenId4VcSiopVerifierService {
hasher: Hasher.hash,
})

if (!nonce || !state) {
if (!nonce && !state) {
throw new CredoError(
'Could not extract nonce or state from authorization response. Unable to find OpenId4VcVerificationSession.'
)
Expand Down

0 comments on commit 2b61629

Please sign in to comment.