From 4899f6bb69cffc43383a10bf4e77d0b0509a70b8 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 14 Aug 2023 15:46:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=9C=BA=E7=BD=91=E5=85=B3=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/models/connection_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/authentication/models/connection_token.py b/apps/authentication/models/connection_token.py index 29f0c28f1..6ea5474c4 100644 --- a/apps/authentication/models/connection_token.py +++ b/apps/authentication/models/connection_token.py @@ -191,7 +191,7 @@ class ConnectionToken(JMSOrgBaseModel): raise JMSException({'error': 'No host account available'}) host, account, lock_key, ttl = bulk_get(host_account, ('host', 'account', 'lock_key', 'ttl')) - gateway = host.gateway.select_gateway() if host.domain else None + gateway = host.domain.select_gateway() if host.domain else None data = { 'id': account.id,