Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: base64url encode seq no
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed May 30, 2022
1 parent 8eeba69 commit ddfb899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ipfs-http-server/src/api/resources/pubsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const subscribeResource = {
numberString = `0${numberString}`
}

sequenceNumber = uint8ArrayFromString(numberString, 'base16')
sequenceNumber = base64url.encode(uint8ArrayFromString(numberString, 'base16'))
}

output.push({
Expand Down

0 comments on commit ddfb899

Please sign in to comment.