Skip to content

Commit

Permalink
fix(core): Fix webhook binary data max size configuration (n8n-io#10897)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi authored Sep 20, 2024
1 parent e20ab59 commit 693fb7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/webhooks/webhook-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export async function executeWebhook(
const form = formidable({
multiples: true,
encoding: encoding as formidable.BufferEncoding,
maxFileSize: formDataFileSizeMax,
maxFileSize: formDataFileSizeMax * 1024 * 1024,
// TODO: pass a custom `fileWriteStreamHandler` to create binary data files directly
});
req.body = await new Promise((resolve) => {
Expand Down

0 comments on commit 693fb7e

Please sign in to comment.