Skip to content

Commit 18581a7

Browse files
committed
Run prettier
1 parent 162c6c0 commit 18581a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ module.exports = function (bodyParser) {
4444
}
4545

4646
// Prevent setting __proto__ and constructor.prototype
47-
if(xml) {
47+
if (xml) {
4848
// Guard against prototype pollution
4949
delete xml.__proto__;
5050
delete xml.constructor;
5151
delete xml.prototype;
52-
52+
5353
req.body = xml;
5454
}
5555
next();

0 commit comments

Comments
 (0)