Skip to content

Commit 6f42064

Browse files
authored
Fix broken comments
1 parent 39d225b commit 6f42064

File tree

1 file changed

+2
-2
lines changed
  • firestore/extend-with-functions/functions

1 file changed

+2
-2
lines changed

firestore/extend-with-functions/functions/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function writingData() {
133133

134134
function basicWildcard() {
135135
// [START basic_wildcard]
136-
// Listen for changes in all documents and all sub-collections
136+
// Listen for changes in all documents in the 'users' collection
137137
exports.useWildcard = functions.firestore
138138
.document('users/{userId}')
139139
.onWrite((change, context) => {
@@ -147,7 +147,7 @@ function basicWildcard() {
147147

148148
function multiWildcard() {
149149
// [START multi_wildcard]
150-
// Listen for changes in all documents and all subcollections
150+
// Listen for changes in all documents in the 'users' collection and all subcollections
151151
exports.useMultipleWildcards = functions.firestore
152152
.document('users/{userId}/{messageCollectionId}/{messageId}')
153153
.onWrite((change, context) => {

0 commit comments

Comments
 (0)