Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

forehalo57ec22ec2ed9
diff --git a/packages/frontend/core/src/modules/userspace/entities/user-db-engine.ts b/packages/frontend/core/src/modules/userspace/entities/user-db-engine.ts
index 479ed5b5de..07ef680d8d 100644
--- a/packages/frontend/core/src/modules/userspace/entities/user-db-engine.ts
+++ b/packages/frontend/core/src/modules/userspace/entities/user-db-engine.ts
@@ -43,17 +43,17 @@ export class UserDBEngine extends Entity<{
doc: {
name: this.DocStorageType.identifier,
opts: {
- id: `${serverService.server.id}:` + this.userId,
- flavour: serverService.server.id,
type: 'userspace',
+ flavour: serverService.server.id,
+ id: this.userId,
},
},
docSync: {
name: this.DocSyncStorageType.identifier,
opts: {
- id: `${serverService.server.id}:` + this.userId,
type: 'userspace',
flavour: serverService.server.id,
+ id: this.userId,
},
},
},