Skip to content

Commit a323bb9

Browse files
committed
Fix bug where wrong event type was assigned to wrong _event_type_written_with_auth_context.
1 parent 8610670 commit a323bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/firebase_functions/firestore_fn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def on_document_written_with_auth_context_wrapped(raw: _ce.CloudEvent):
306306
_util.set_func_endpoint_attr(
307307
on_document_written_with_auth_context_wrapped,
308308
options._endpoint(
309-
event_type=_event_type_written,
309+
event_type=_event_type_written_with_auth_context,
310310
func_name=func.__name__,
311311
document_pattern=document_pattern,
312312
),

0 commit comments

Comments
 (0)