This commit is contained in:
msukkari 2025-11-13 21:11:03 -08:00
parent 4a65d77dcf
commit 29659031ad

View file

@ -64,7 +64,8 @@ const initSingleTenancy = async () => {
} }
// If we don't have the search context entitlement then wipe any existing // 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") const hasSearchContextEntitlement = hasEntitlement("search-contexts")
if(!hasSearchContextEntitlement) { if(!hasSearchContextEntitlement) {
clearSearchContexts(SINGLE_TENANT_ORG_DOMAIN) clearSearchContexts(SINGLE_TENANT_ORG_DOMAIN)