1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-07 10:07:19 +03:00

fix(core): Add "rawBody" also for xml requests (#3143)

This commit is contained in:
Ricardo Espinoza 2022-04-18 12:50:40 -04:00 committed by GitHub
parent ac5f357001
commit 5719e44b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -613,6 +613,9 @@ class App {
normalizeTags: true, // Transform tags to lowercase
explicitArray: false, // Only put properties in array if length > 1
},
verify: (req: express.Request, res: any, buf: any) => {
req.rawBody = buf;
},
}),
);