Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 2e7e969

Browse files
author
Alan Shaw
committed
fix: import buffer when needed
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 0598651 commit 2e7e969

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/add/form-data.browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict'
22
/* eslint-env browser */
33

4+
const { Buffer } = require('buffer')
45
const normaliseInput = require('ipfs-utils/src/files/normalise-input')
56

67
exports.toFormData = async input => {

0 commit comments

Comments
 (0)