fix: 修复发布机网关选择

pull/11273/head
Eric 2023-08-14 15:46:46 +08:00 committed by Bryan
parent ef0c2f41ac
commit 4899f6bb69
1 changed files with 1 additions and 1 deletions

View File

@ -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,