We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae63cd6 commit ee5a785Copy full SHA for ee5a785
Node/quickstarts/firestore-sync-auth/functions/index.js
@@ -26,7 +26,7 @@ const {logger} = require("firebase-functions");
26
exports.verifyComment = onDocumentWrittenWithAuthContext(
27
"comments/{commentId}",
28
(event) => {
29
- const snapshot = event.data;
+ const snapshot = event.data.after;
30
if (!snapshot) {
31
logger.log("No data associated with the event");
32
return;
0 commit comments