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.

Merge branch 'feat/cloud-sync-saika' into feat/datacenter

DiamondThreeb837126cea39
diff --cc packages/data-center/src/provider/affine/affine.ts
index 2b1c73ae53,0794ca10e9..3b0161743d
--- a/packages/data-center/src/provider/affine/affine.ts
+++ b/packages/data-center/src/provider/affine/affine.ts
@@@ -213,8 -212,8 +213,9 @@@ export class AffineProvider extends Bas
}
public override async getUserInfo(): Promise<User | undefined> {
+ await this.init();
const user = this._apis.token.user;
+ await this.init;
return user
? {
id: user.id,