Skip to content

Commit 9fb232e

Browse files
authored
Revert "Fix small typos from previous PR (#28)" (#29)
This reverts commit dedcca8.
1 parent dedcca8 commit 9fb232e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/firebase_snippets_app/lib/snippets/firestore.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ class FirestoreSnippets extends DocSnippet {
481481

482482
void getDataOnce_getAllDocumentsInASubcollection() {
483483
// [START get_data_once_get_all_documents_in_a_subcollection]
484+
// [START firestore_query_subcollection]
484485
db.collection("cities").doc("SF").collection("landmarks").get().then(
485486
(querySnapshot) {
486487
print("Successfully completed");
@@ -490,6 +491,7 @@ class FirestoreSnippets extends DocSnippet {
490491
},
491492
onError: (e) => print("Error completing: $e"),
492493
);
494+
// [END firestore_query_subcollection]
493495
// [END get_data_once_get_all_documents_in_a_subcollection]
494496
}
495497

0 commit comments

Comments
 (0)