Skip to content

Commit 01d37b7

Browse files
authored
popuation --> population (#296)
1 parent 71c95ee commit 01d37b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firestore-next/test.firestore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ describe("firestore", () => {
10481048
const docSnap = await getDoc(doc(citiesRef, "SF"));
10491049

10501050
// Get all cities with a population bigger than San Francisco
1051-
const biggerThanSf = query(citiesRef, orderBy("popuation"), startAt(docSnap));
1051+
const biggerThanSf = query(citiesRef, orderBy("population"), startAt(docSnap));
10521052
// ...
10531053
// [END start_doc]
10541054
});

snippets/firestore-next/test-firestore/start_doc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ const citiesRef = collection(db, "cities");
1111
const docSnap = await getDoc(doc(citiesRef, "SF"));
1212

1313
// Get all cities with a population bigger than San Francisco
14-
const biggerThanSf = query(citiesRef, orderBy("popuation"), startAt(docSnap));
14+
const biggerThanSf = query(citiesRef, orderBy("population"), startAt(docSnap));
1515
// ...
1616
// [END start_doc_modular]

0 commit comments

Comments
 (0)