Skip to content

Commit 3f6445d

Browse files
remove _noBody when req.body._noBody == false
1 parent 02566f0 commit 3f6445d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middlewares.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function handleParseHeaders(req, res, next) {
2626
restAPIKey: req.get('X-Parse-REST-API-Key')
2727
};
2828

29-
if (req.body && req.body._noBody) {
29+
if (req.body) {
3030
// Unity SDK sends a _noBody key which needs to be removed.
3131
// Unclear at this point if action needs to be taken.
3232
delete req.body._noBody;

0 commit comments

Comments
 (0)