Skip to content
Browse files

file upload bugfixing

  • Loading branch information...
1 parent 5aac74a commit e6c25ffe5f12231c8e00510c8edb0d8b7d77cbd4 @mjr27 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 rest.js
View
2 rest.js
@@ -188,7 +188,7 @@ function parseMultipartData(request){
ctype = request.headers['content-type'];
m = ctype.match(/^.*;\s+boundary=(.*)$/);
if(m){
- var parts = [], post = {}, files = [];
+ var parts = [], post = {}, files = {};
var boundary = m[1];
var content = splitBinary(request.data,boundary);

0 comments on commit e6c25ff

Please sign in to comment.
Something went wrong with that request. Please try again.