diff --git a/ariadne/services/comms.py b/ariadne/services/comms.py index 325b663..5e7d883 100644 --- a/ariadne/services/comms.py +++ b/ariadne/services/comms.py @@ -103,7 +103,7 @@ class CommsService: return self._client_factory(timeout=settings.comms_timeout_sec) def _admin_token(self, fallback: str) -> str: - token = settings.comms_synapse_admin_token + token = getattr(settings, "comms_synapse_admin_token", "") return token if token else fallback def _mas_admin_token(self, client: httpx.Client) -> str: