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.

feat: remove affine

MingLiang Wang8b95f1307610
diff --git a/packages/data-center/src/provider/affine/affine.ts b/packages/data-center/src/provider/affine/affine.ts
index 6cb876a523..445b64c2f5 100644
--- a/packages/data-center/src/provider/affine/affine.ts
+++ b/packages/data-center/src/provider/affine/affine.ts
@@ -179,8 +179,7 @@ export class AffineProvider extends BaseProvider {
return;
}
}
- const user = await this._apis.signInWithGoogle?.();
- assert(user);
+ await this._apis.signInWithGoogle?.();
}
public override async getUserInfo(): Promise<User | undefined> {