From 29659031adb26c107f02ed206566e5cd25ffedee Mon Sep 17 00:00:00 2001 From: msukkari Date: Thu, 13 Nov 2025 21:11:03 -0800 Subject: [PATCH] comments --- packages/web/src/initialize.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/initialize.ts b/packages/web/src/initialize.ts index 67d9db23..bd598ec5 100644 --- a/packages/web/src/initialize.ts +++ b/packages/web/src/initialize.ts @@ -64,7 +64,8 @@ const initSingleTenancy = async () => { } // If we don't have the search context entitlement then wipe any existing - // search contexts that may be present in the DB + // search contexts that may be present in the DB. This could happen if a deployment had + // the entitlement, synced search contexts, and then no longer had the entitlement const hasSearchContextEntitlement = hasEntitlement("search-contexts") if(!hasSearchContextEntitlement) { clearSearchContexts(SINGLE_TENANT_ORG_DOMAIN)