diff --git a/async_firebase/base.py b/async_firebase/base.py index 014e6f2..6e31943 100644 --- a/async_firebase/base.py +++ b/async_firebase/base.py @@ -74,7 +74,7 @@ def _create_http_client() -> httpx.AsyncClient: if self._http_client is None: self._http_client = _create_http_client() - elif self._client.is_closed: + elif self._http_client.is_closed: self._http_client = _create_http_client() return self._http_client