firebase/snippets-web

Population Spelling Mistake

darthinvader opened this issue · 1 comments

There is a spelling mistake (popuation while it would be population) at line 14

import { collection, doc, getDoc, query, orderBy, startAt } from "firebase/firestore";
const citiesRef = collection(db, "cities");
const docSnap = await getDoc(doc(citiesRef, "SF"));
// Get all cities with a population bigger than San Francisco
const biggerThanSf = query(citiesRef, orderBy("popuation"), startAt(docSnap));
// ...

@darthinvader Nice catch!
This looks like a great opportunity to contribute. Would you like to send us a PR?