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

Commit 63469ed

Browse files
dirkmcAlan Shaw
authored andcommitted
fix: update option in exchange files in browser example (#2087)
1 parent 9baa242 commit 63469ed

File tree

1 file changed

+1
-1
lines changed
  • examples/exchange-files-in-browser/public

1 file changed

+1
-1
lines changed

examples/exchange-files-in-browser/public/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function onDrop (event) {
229229
node.add({
230230
path: file.name,
231231
content: Buffer.from(buffer)
232-
}, { wrap: true, progress: updateProgress }, (err, filesAdded) => {
232+
}, { wrapWithDirectory: true, progress: updateProgress }, (err, filesAdded) => {
233233
if (err) {
234234
return onError(err)
235235
}

0 commit comments

Comments
 (0)