Client: fix handle refresh token
This commit is contained in:
parent
371fa0933a
commit
c0a89c46ef
|
@ -27,7 +27,6 @@ export class RequestStatsComponent implements OnInit, OnDestroy {
|
|||
getStats() {
|
||||
this.requestService.getStats().subscribe(
|
||||
stats => {
|
||||
console.log(stats);
|
||||
this.stats = stats;
|
||||
this.runInterval();
|
||||
},
|
||||
|
|
|
@ -159,8 +159,8 @@ export class AuthService {
|
|||
this.router.navigate(['/login']);
|
||||
|
||||
return Observable.throw({
|
||||
json: '',
|
||||
text: 'You need to reconnect.'
|
||||
json: () => '',
|
||||
text: () => 'You need to reconnect.'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue