Skip to content

Commit

Permalink
index not object
Browse files Browse the repository at this point in the history
  • Loading branch information
gvelez17 committed Sep 11, 2023
1 parent d71a18e commit 7466c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ancillary/anchor-request-params-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class AnchorRequestCarFileDecoder implements Decoder<Uint8Array, RequestA
let capCID = undefined
const protectedHeader = genesisJWS.signatures[0].protected
try {
const capIPFSUri = base64urlToJSON(protectedHeader).cap
const capIPFSUri = base64urlToJSON(protectedHeader)['cap']
if (capIPFSUri) {
capCID = capIPFSUri.replace('ipfs://', '')
}
Expand Down

0 comments on commit 7466c75

Please sign in to comment.