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)