We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1fde26 commit 65c11c7Copy full SHA for 65c11c7
src/firebase_functions/firestore_fn.py
@@ -211,8 +211,10 @@ def _firestore_endpoint_handler(
211
func = _core._with_init(func)
212
213
if event_type.endswith(".withAuthContext"):
214
- event_auth_type = event_attributes["auth_type"]
215
- event_auth_id = event_attributes["auth_id"]
+ console.log("event_type: ", event_type)
+ console.log("event_attributes: ", event_attributes);
216
+ event_auth_type = event_attributes["authtype"]
217
+ event_auth_id = event_attributes["authid"]
218
database_event_with_auth_context = AuthEvent(**vars(database_event),
219
auth_type=event_auth_type,
220
auth_id=event_auth_id)
0 commit comments