From 4c740d5621f2bb9eb81617b2dedc44ec5ea1faa9 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sun, 7 Sep 2025 15:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E7=AB=99=E7=82=B9=E6=97=B6?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=AD=90=E5=9F=9F=E5=90=8D=E6=97=B6=E5=8C=85?= =?UTF-8?q?=E5=90=AB=E6=89=80=E6=9C=89=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jcloud/api/central.py | 1 - jcloud/api/saas.py | 1 - jcloud/api/spaces.py | 2 +- jcloud/jcloud/pagetype/site/site.py | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/jcloud/api/central.py b/jcloud/api/central.py index 7f5bcef..ead798e 100644 --- a/jcloud/api/central.py +++ b/jcloud/api/central.py @@ -129,7 +129,6 @@ def check_subdomain_availability(subdomain): { "subdomain": subdomain, "domain": get_jerp_domain(), - "status": ("!=", "Archived"), }, ) ) diff --git a/jcloud/api/saas.py b/jcloud/api/saas.py index 6185c32..34a40db 100644 --- a/jcloud/api/saas.py +++ b/jcloud/api/saas.py @@ -200,7 +200,6 @@ def check_subdomain_availability(subdomain, app): { "subdomain": subdomain, "domain": get_saas_domain(app), - "status": ("!=", "Archived"), }, ) ) diff --git a/jcloud/api/spaces.py b/jcloud/api/spaces.py index d5b8118..fa5fe20 100644 --- a/jcloud/api/spaces.py +++ b/jcloud/api/spaces.py @@ -156,7 +156,7 @@ def exists(subdomain, domain) -> bool: jingrow.db.exists("Blocked Domain", {"name": subdomain, "root_domain": domain}) or jingrow.db.exists( "Code Server", - {"subdomain": subdomain, "domain": domain, "status": ("!=", "Archived")}, + {"subdomain": subdomain, "domain": domain}, ) ) diff --git a/jcloud/jcloud/pagetype/site/site.py b/jcloud/jcloud/pagetype/site/site.py index 81b2830..4275e00 100644 --- a/jcloud/jcloud/pagetype/site/site.py +++ b/jcloud/jcloud/pagetype/site/site.py @@ -2687,7 +2687,6 @@ class Site(Document, TagHelpers): { "subdomain": subdomain, "domain": domain, - "status": ("!=", "Archived"), }, ) )