mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-14 13:25:21 +00:00
comments
This commit is contained in:
parent
4a65d77dcf
commit
29659031ad
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue