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

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;
},
}),
);