diff --git a/src/firebase_functions/firestore_fn.py b/src/firebase_functions/firestore_fn.py index 8e5632d..b842525 100644 --- a/src/firebase_functions/firestore_fn.py +++ b/src/firebase_functions/firestore_fn.py @@ -306,7 +306,7 @@ def on_document_written_with_auth_context_wrapped(raw: _ce.CloudEvent): _util.set_func_endpoint_attr( on_document_written_with_auth_context_wrapped, options._endpoint( - event_type=_event_type_written, + event_type=_event_type_written_with_auth_context, func_name=func.__name__, document_pattern=document_pattern, ),