Skip to content

Commit

Permalink
docs: fix indexing in docstr (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox authored and JustinBeckwith committed Dec 5, 2018
1 parent 11269c1 commit 197d439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/src/transaction.ts
Expand Up @@ -152,7 +152,7 @@ export class Transaction {
* firestore.runTransaction(transaction => {
* return transaction.getAll(firstDoc, secondDoc).then(docs => {
* transaction.set(resultDoc, {
* sum: docs[1].get('count') + docs[2].get('count')
* sum: docs[0].get('count') + docs[1].get('count')
* });
* });
* });
Expand Down

0 comments on commit 197d439

Please sign in to comment.