From 0675b8b688ac3493b287d9ce38db46855405f2b9 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 27 Jan 2026 05:12:43 -0300 Subject: [PATCH] comms: tolerate missing admin token setting --- ariadne/services/comms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: