mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -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({
|
||||
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) => {
|
||||
|
|
Loading…
Reference in a new issue