cic-staff-client/src/app/app.component.ts
Spencer Ofwiti c2f257e221 Bug fix.
- Remove unsafe keystore.
- Refactor functionality from unsafe keystore into mutable keystore.
2021-02-17 14:13:08 +03:00

16 lines
423 B
TypeScript

import { Component } from '@angular/core';
import {AuthService} from '@app/_services';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'cic-staff-client';
constructor(private authService: AuthService) {
this.authService.mutableKeyStore.loadKeyring().then(r => this.authService.getPublicKeys().then());
}
}