This PR makes it possible to use this module together with google cloud functions. The issue here was that the request object was being tampered with before the request hit this module. I updated extract.js with the following content:
if (req.rawBody) {
busboy.end(req.rawBody)
} else {
req.pipe(busboy)
}
This PR makes it possible to use this module together with google cloud functions. The issue here was that the request object was being tampered with before the request hit this module. I updated
extract.js
with the following content:as per suggestion from here: busboy issue