fix(core): do not pass flavor in space id (#11285)

This commit is contained in:
forehalo
2025-03-31 04:47:00 +00:00
parent a91193c921
commit 57ec22ec2e

View File

@@ -43,17 +43,17 @@ export class UserDBEngine extends Entity<{
doc: { doc: {
name: this.DocStorageType.identifier, name: this.DocStorageType.identifier,
opts: { opts: {
id: `${serverService.server.id}:` + this.userId,
flavour: serverService.server.id,
type: 'userspace', type: 'userspace',
flavour: serverService.server.id,
id: this.userId,
}, },
}, },
docSync: { docSync: {
name: this.DocSyncStorageType.identifier, name: this.DocSyncStorageType.identifier,
opts: { opts: {
id: `${serverService.server.id}:` + this.userId,
type: 'userspace', type: 'userspace',
flavour: serverService.server.id, flavour: serverService.server.id,
id: this.userId,
}, },
}, },
}, },