Skip to content

Commit 3b956cb

Browse files
committed
1 parent e75a448 commit 3b956cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routers/FunctionsRouter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class FunctionsRouter extends PromiseRouter {
207207
let settled = false;
208208
let busboy;
209209
try {
210-
busboy = Busboy({ headers: req.headers });
210+
busboy = Busboy({ headers: req.headers, limits: { fieldSize: maxBytes } });
211211
} catch (err) {
212212
return reject(
213213
new Parse.Error(Parse.Error.INVALID_JSON, `Invalid multipart request: ${err.message}`)

0 commit comments

Comments
 (0)