Skip to content

Commit

Permalink
release 2.2.7 bugfix revert parse-community#1498
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-supersolid committed Apr 20, 2016
1 parent c1bc833 commit c548d8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Controllers/DatabaseController.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,12 @@ DatabaseController.prototype.untransformObject = function (schema, isMaster, acl
return object;
}

delete object.authData;
delete object.sessionToken;

if (isMaster || aclGroup.indexOf(object.objectId) > -1) {
return object;
}

delete object.authData;
delete object.sessionToken;
return object;
};

Expand Down

0 comments on commit c548d8c

Please sign in to comment.