mirror of https://github.com/Chocobozzz/PeerTube
Client: fix handle refresh token
parent
371fa0933a
commit
c0a89c46ef
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
|
@ -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.'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue