Skip to content

Commit db1eb6c

Browse files
authored
fix: incorrect event type for on_document_written_with_auth_context (#214)
1 parent 9481fe8 commit db1eb6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/firebase_functions/firestore_fn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def on_document_written_with_auth_context_wrapped(raw: _ce.CloudEvent):
311311
_util.set_func_endpoint_attr(
312312
on_document_written_with_auth_context_wrapped,
313313
options._endpoint(
314-
event_type=_event_type_written,
314+
event_type=_event_type_written_with_auth_context,
315315
func_name=func.__name__,
316316
document_pattern=document_pattern,
317317
),

0 commit comments

Comments
 (0)