Skip to content

Commit

Permalink
Fix casing for afterLiveQueryEvent (parse-community#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy committed Dec 15, 2020
1 parent c257296 commit 5a5465e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/cloudcode/cloud-code.md
Expand Up @@ -815,7 +815,7 @@ Parse.Cloud.afterLiveQueryEvent('MyObject', async (request) => {

// Extend matchesQuery functionality to LiveQuery
Parse.Cloud.afterLiveQueryEvent('MyObject', async (request) => {
if (request.event != "Create") {
if (request.event != "create") {
return;
}
const query = request.object.relation('children').query();
Expand Down

0 comments on commit 5a5465e

Please sign in to comment.