From a323bb9c9d77f70501d142cdfaa09fc78f6df932 Mon Sep 17 00:00:00 2001 From: Daniel Young Lee Date: Thu, 11 Jul 2024 12:12:29 -0700 Subject: [PATCH] Fix bug where wrong event type was assigned to wrong _event_type_written_with_auth_context. --- src/firebase_functions/firestore_fn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ),