Skip to content

Commit

Permalink
fix: really add back nodejs 20 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jul 20, 2023
1 parent 863dda3 commit dd2ad64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class NFTStorage {
// older node versions and the browser it is fine to pass a blob.
/* c8 ignore next 3 */
if (parseInt(globalThis.process?.versions?.node) > 18) {
// body = await body.arrayBuffer()
body = await body.arrayBuffer()
}
const cid = await pRetry(
async () => {
Expand Down

0 comments on commit dd2ad64

Please sign in to comment.