summaryrefslogtreecommitdiff
path: root/client/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.js')
-rw-r--r--client/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.js b/client/client.js
index a769367..451358e 100644
--- a/client/client.js
+++ b/client/client.js
@@ -92,7 +92,7 @@ export default {
for (var i = 0; i < files.length; i++) {
data.append('file', files[i])
}
- return fetch('/folders/' + folder_id, postBody(files))
+ return fetch('/folders/' + folder_id, postBody(data))
.then(req => req.json())
.catch(error)
},