Skip to content

Commit ae63cd6

Browse files
committed
fix snippet
1 parent a5a6fa5 commit ae63cd6

File tree

1 file changed

+2
-2
lines changed
  • Python/quickstarts/firestore-sync-auth/functions

1 file changed

+2
-2
lines changed

Python/quickstarts/firestore-sync-auth/functions/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
from firebase_functions import firestore_fn
1717

1818

19-
# [START authContext]
20-
@on_document_updated_with_auth_context(document="comments/{comment_id}")
19+
# [START verifyComment]
20+
@firestore_fn.on_document_updated_with_auth_context(document="comments/{comment_id}")
2121
def verify_comment(event: Event[Change[DocumentSnapshot]]) -> None:
2222

2323
# Get the current and previous document values.

0 commit comments

Comments
 (0)