remove _noBody when req.body._noBody == false

This commit is contained in:
Joseph Le Grice
2016-02-19 16:41:31 +00:00
parent 02566f0906
commit 3f6445d035

View File

@@ -26,7 +26,7 @@ function handleParseHeaders(req, res, next) {
restAPIKey: req.get('X-Parse-REST-API-Key') restAPIKey: req.get('X-Parse-REST-API-Key')
}; };
if (req.body && req.body._noBody) { if (req.body) {
// Unity SDK sends a _noBody key which needs to be removed. // Unity SDK sends a _noBody key which needs to be removed.
// Unclear at this point if action needs to be taken. // Unclear at this point if action needs to be taken.
delete req.body._noBody; delete req.body._noBody;