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

Commit

Permalink
fix: update option in exchange files in browser example (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmc authored and alanshaw committed May 21, 2019
1 parent 9baa242 commit 63469ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/exchange-files-in-browser/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function onDrop (event) {
node.add({
path: file.name,
content: Buffer.from(buffer)
}, { wrap: true, progress: updateProgress }, (err, filesAdded) => {
}, { wrapWithDirectory: true, progress: updateProgress }, (err, filesAdded) => {
if (err) {
return onError(err)
}
Expand Down

0 comments on commit 63469ed

Please sign in to comment.