mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 18:16:15 +08:00
fix: deepscan error and warning (#728)
This commit is contained in:
@@ -244,9 +244,7 @@ export class AffineProvider extends BaseProvider {
|
||||
}
|
||||
|
||||
public override async getUserInfo(): Promise<User | undefined> {
|
||||
await this.init();
|
||||
const user = this._apis.token.user;
|
||||
await this.init;
|
||||
return user
|
||||
? {
|
||||
id: user.id,
|
||||
|
||||
Reference in New Issue
Block a user