add await to auth service init
This commit is contained in:
parent
703125fc3d
commit
77bd280600
@ -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);
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user