Skip to content

Commit

Permalink
fix(core): Add "rawBody" also for xml requests (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoE105 committed Apr 18, 2022
1 parent ac5f357 commit 5719e44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
}),
);

Expand Down

0 comments on commit 5719e44

Please sign in to comment.