Skip to content

Commit

Permalink
pass clinet's params to SSEClient
Browse files Browse the repository at this point in the history
  • Loading branch information
aiueo-1234 committed Dec 27, 2024
1 parent 8ba819a commit 678310d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firebase_admin/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _listen_with_session(self, callback, session=None):
session = self._client.create_listener_session()

try:
sse = _sseclient.SSEClient(url, session)
sse = _sseclient.SSEClient(url, session, **{"params": self._client.params})
return ListenerRegistration(callback, sse)
except requests.exceptions.RequestException as error:
raise _Client.handle_rtdb_error(error)
Expand Down

0 comments on commit 678310d

Please sign in to comment.