Skip to content

Commit 5ed037f

Browse files
committed
Merge pull request #512 from Joseph-LeGrice/_noBody_fix
Unity _noBody fix
2 parents 02566f0 + 3f6445d commit 5ed037f

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)