mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Fix serverStorage (#6283)
This commit is contained in:
parent
4b7ce58fe9
commit
f09afc7eb3
@ -137,8 +137,7 @@ export class TServerStorage implements ServerStorage {
|
||||
if (h !== undefined) {
|
||||
const dbDomains = adapterDomains.get(adapter) ?? (await h.listDomains())
|
||||
adapterDomains.set(adapter, dbDomains)
|
||||
const dbIdIndex = dbDomains.has(d)
|
||||
info.exists = dbIdIndex !== undefined
|
||||
info.exists = dbDomains.has(d)
|
||||
if (info.exists) {
|
||||
info.documents = await h.estimatedCount(d)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user