add await to auth service init

This commit is contained in:
Blair Vanderlugt 2021-04-24 10:20:48 -07:00
parent 703125fc3d
commit 77bd280600

View File

@ -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);
// }