mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(core): Fix webhook binary data max size configuration (#10897)
This commit is contained in:
parent
e20ab59c1d
commit
693fb7e580
|
@ -219,7 +219,7 @@ export async function executeWebhook(
|
||||||
const form = formidable({
|
const form = formidable({
|
||||||
multiples: true,
|
multiples: true,
|
||||||
encoding: encoding as formidable.BufferEncoding,
|
encoding: encoding as formidable.BufferEncoding,
|
||||||
maxFileSize: formDataFileSizeMax,
|
maxFileSize: formDataFileSizeMax * 1024 * 1024,
|
||||||
// TODO: pass a custom `fileWriteStreamHandler` to create binary data files directly
|
// TODO: pass a custom `fileWriteStreamHandler` to create binary data files directly
|
||||||
});
|
});
|
||||||
req.body = await new Promise((resolve) => {
|
req.body = await new Promise((resolve) => {
|
||||||
|
|
Loading…
Reference in a new issue