Skip to content

Commit

Permalink
fix: temporary fix for validateAuthorization implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Apr 23, 2024
1 parent 3e2f405 commit 6de552f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export function createServer (signer, service) {
codec: CAR.inbound,
service,
catch: err => console.error(err),
// TODO: wire into revocations
validateAuthorization: () => ({ ok: {} }),
// @ts-expect-error
authorities: [Verifier.parse('did:key:z6MkqdncRZ1wj8zxCTDUQ8CRT8NQWd63T7mZRvZUX8B7XDFi').withDID('did:web:web3.storage')]
})
Expand Down

0 comments on commit 6de552f

Please sign in to comment.