From 313fbc876197777ff12d78a2103846ba908b5626 Mon Sep 17 00:00:00 2001 From: dblythy Date: Wed, 25 Nov 2020 12:41:16 +1100 Subject: [PATCH] Fix casing for afterLiveQueryEvent --- _includes/cloudcode/cloud-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/cloudcode/cloud-code.md b/_includes/cloudcode/cloud-code.md index ebf42f8d9..a39062812 100644 --- a/_includes/cloudcode/cloud-code.md +++ b/_includes/cloudcode/cloud-code.md @@ -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();