Client: fix handle refresh token

pull/24/head
Chocobozzz 2016-11-04 11:54:05 +01:00
parent 371fa0933a
commit c0a89c46ef
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@ export class RequestStatsComponent implements OnInit, OnDestroy {
getStats() { getStats() {
this.requestService.getStats().subscribe( this.requestService.getStats().subscribe(
stats => { stats => {
console.log(stats);
this.stats = stats; this.stats = stats;
this.runInterval(); this.runInterval();
}, },

View File

@ -159,8 +159,8 @@ export class AuthService {
this.router.navigate(['/login']); this.router.navigate(['/login']);
return Observable.throw({ return Observable.throw({
json: '', json: () => '',
text: 'You need to reconnect.' text: () => 'You need to reconnect.'
}); });
} }