diff --git a/server/core/src/dbAdapterManager.ts b/server/core/src/dbAdapterManager.ts index 0a21ff9cab..985462a3b2 100644 --- a/server/core/src/dbAdapterManager.ts +++ b/server/core/src/dbAdapterManager.ts @@ -87,7 +87,8 @@ export class DbAdapterManagerImpl implements DBAdapterManager { } private async updateInfo (d: Domain, adapterDomains: Map>, info: DomainInfo): Promise { - const adapter = this.adapters.get(d) ?? this.defaultAdapter + const name = this._domains[d] ?? '#default' + const adapter = this.adapters.get(name) ?? this.defaultAdapter if (adapter !== undefined) { const h = adapter.helper?.() if (h !== undefined) {