mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Fix webhook binary data max size configuration (#10897)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user