Skip to content

Commit

Permalink
Merge branch 'next' of github.com:uncefact/project-vckit into deploy-un
Browse files Browse the repository at this point in the history
  • Loading branch information
namhoang1604 committed Nov 22, 2023
2 parents 7572f24 + ab623c3 commit 7a9023a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"https://dev-dvp-context.s3.ap-southeast-2.amazonaws.com/AANZFTA-CoO-Context-Partial.json",
"https://w3id.org/vc-revocation-list-2020/v1",
"https://w3id.org/security/suites/jws-2020/v1",
"https://dev-render-method-context.s3.ap-southeast-1.amazonaws.com/dev-render-method-context.json"
"https://vckit-contexts.s3.ap-southeast-2.amazonaws.com/dev-render-method-context.json"
],
"type": ["VerifiableCredential"],
"issuer": "did:web:localhost%3A4566:did-documents-bucket:jvtrkl45qubg",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1",
"https://dev-render-method-context.s3.ap-southeast-1.amazonaws.com/dev-render-method-context.json"
"https://vckit-contexts.s3.ap-southeast-2.amazonaws.com/dev-render-method-context.json"
],
"id": "http://example.edu/credentials/3732",
"type": ["VerifiableCredential", "UniversityDegreeCredential"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export function revocationList2020Middleware(args: {
if (
!req.body ||
!args.apiRoutes.includes(req.path) ||
!args.supportedProofFormats.includes(req.body.proofFormat)
(args.supportedProofFormats &&
!args.supportedProofFormats.includes(req.body.proofFormat))
) {
next();
return;
Expand Down

0 comments on commit 7a9023a

Please sign in to comment.