fix: deepscan error and warning (#728)

This commit is contained in:
DiamondThree
2023-01-13 15:25:33 +08:00
committed by GitHub
parent 03ff4c3e3d
commit 7fb5aae8b5
21 changed files with 10 additions and 651 deletions
@@ -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,