Skip to content

Commit 9d64583

Browse files
committed
fix: typo in fs_update_document_increment sample
Fixes #2374
1 parent 339459e commit 9d64583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firestore/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,5 @@ def update_document_increment(db):
881881
# [START fs_update_document_increment]
882882
washington_ref = db.collection(u'cities').document(u'DC')
883883

884-
washington_ref.update("population", firestore.Increment(50))
884+
washington_ref.update({"population": firestore.Increment(50)})
885885
# [END fs_update_document_increment]

0 commit comments

Comments
 (0)