diff --git a/src/app/auth/auth.component.ts b/src/app/auth/auth.component.ts index c27df3a..19419db 100644 --- a/src/app/auth/auth.component.ts +++ b/src/app/auth/auth.component.ts @@ -26,7 +26,7 @@ export class AuthComponent implements OnInit { this.keyForm = this.formBuilder.group({ key: ['', Validators.required], }); - this.authService.init(); + await this.authService.init(); //if (this.authService.privateKey !== undefined) { // const setKey = await this.authService.setKey(this.authService.privateKey); // }