Skip to content

Commit

Permalink
fix: Update getAll example in documentation (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
n370 committed Oct 20, 2020
1 parent e9afa38 commit 721fce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/reference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2407,7 +2407,7 @@ export class CollectionReference<T = firestore.DocumentData>
* let collectionRef = firestore.collection('col');
*
* return collectionRef.listDocuments().then(documentRefs => {
* return firestore.getAll(documentRefs);
* return firestore.getAll(...documentRefs);
* }).then(documentSnapshots => {
* for (let documentSnapshot of documentSnapshots) {
* if (documentSnapshot.exists) {
Expand Down

0 comments on commit 721fce0

Please sign in to comment.