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 bd4e4be commit e325266Copy full SHA for e325266
firestore/extend-with-functions/functions/index.js
@@ -14,7 +14,7 @@ function triggerNewDocument() {
14
// [START trigger_new_document]
15
exports.createUser = functions.firestore
16
.document('users/{userId}')
17
- .onCreate((snao, context) => {
+ .onCreate((snap, context) => {
18
// Get an object representing the document
19
// e.g. {'name': 'Marie', 'age': 66}
20
const newValue = snap.data();
0 commit comments