Permalink
Browse files

misc

  • Loading branch information...
1 parent 9717cee commit e508a40bd3107becd83c8d77496e795f0deff779 @tj tj committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/middleware/bodyParser.js
@@ -119,7 +119,7 @@ exports.parse['application/json'] = function(req, fn){
exports.parse['multipart/form-data'] = function(req, fn){
var form = new formidable.IncomingForm
, query = []
- , body = {};
+ , files = {};
form.on('field', function(name, val){
query.push(name + '=' + val);

0 comments on commit e508a40

Please sign in to comment.