Skip to content

Commit

Permalink
Fix busboy sample not working on GCF (#627)
Browse files Browse the repository at this point in the history
**Note:** this change breaks the `uploadFile` sample in the Emulator. @jmdobry can you investigate?
  • Loading branch information
Ace Nassri committed Aug 1, 2018
1 parent 146fdd0 commit 50de194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/http/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ exports.uploadFile = (req, res) => {
res.send();
});

req.pipe(busboy);
busboy.end(req.rawBody);
} else {
// Return a "method not allowed" error
res.status(405).end();
Expand Down

0 comments on commit 50de194

Please sign in to comment.