Add original object to LiveQuery Events (#5265)

* Add original object to LiveQuery Events

* change response original
This commit is contained in:
Diamond Lewis
2018-12-28 16:56:08 -06:00
committed by Florent Vilmart
parent de92ce5c49
commit ce7ff2ca44
3 changed files with 66 additions and 2 deletions

View File

@@ -292,7 +292,11 @@ class ParseLiveQueryServer {
return null;
}
const functionName = 'push' + type;
client[functionName](requestId, currentParseObject);
client[functionName](
requestId,
currentParseObject,
originalParseObject
);
},
error => {
logger.error('Matching ACL error : ', error);