Skip to content

Commit 2965903

Browse files
committed
comments
1 parent 4a65d77 commit 2965903

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/web/src/initialize.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ const initSingleTenancy = async () => {
6464
}
6565

6666
// If we don't have the search context entitlement then wipe any existing
67-
// search contexts that may be present in the DB
67+
// search contexts that may be present in the DB. This could happen if a deployment had
68+
// the entitlement, synced search contexts, and then no longer had the entitlement
6869
const hasSearchContextEntitlement = hasEntitlement("search-contexts")
6970
if(!hasSearchContextEntitlement) {
7071
clearSearchContexts(SINGLE_TENANT_ORG_DOMAIN)

0 commit comments

Comments
 (0)