From 692e8dd6a5fda95efcd42094a54f0d59809921b1 Mon Sep 17 00:00:00 2001 From: Nathan Samson Date: Mon, 22 Dec 2025 16:22:24 +0100 Subject: [PATCH] Fix #265 by passing options to FirebaseAlertOptions --- src/firebase_functions/options.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/firebase_functions/options.py b/src/firebase_functions/options.py index ee084cb..861e40c 100644 --- a/src/firebase_functions/options.py +++ b/src/firebase_functions/options.py @@ -672,6 +672,7 @@ def _endpoint( return FirebaseAlertOptions( alert_type=kwargs["alert_type"], app_id=self.app_id, + **self._asdict_with_global_options() )._endpoint(**kwargs) @@ -695,6 +696,7 @@ def _endpoint( return FirebaseAlertOptions( alert_type=kwargs["alert_type"], app_id=self.app_id, + **self._asdict_with_global_options() )._endpoint(**kwargs) @@ -718,6 +720,7 @@ def _endpoint( return FirebaseAlertOptions( alert_type=kwargs["alert_type"], app_id=self.app_id, + **self._asdict_with_global_options() )._endpoint(**kwargs) @@ -735,6 +738,7 @@ def _endpoint( assert kwargs["alert_type"] is not None return FirebaseAlertOptions( alert_type=kwargs["alert_type"], + **self._asdict_with_global_options() )._endpoint(**kwargs)