aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-04 11:54:05 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-04 11:54:36 +0100
commitc0a89c46efbec1a01a014fe6e9dfe32f30d5cac3 (patch)
tree4852177b2b95e436e11cce06bc37ed7f40adac76 /client/src/app
parent371fa0933a43379bc546b4a5586271a79aefa915 (diff)
downloadPeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.gz
PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.tar.zst
PeerTube-c0a89c46efbec1a01a014fe6e9dfe32f30d5cac3.zip
Client: fix handle refresh token
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/admin/requests/request-stats/request-stats.component.ts1
-rw-r--r--client/src/app/shared/auth/auth.service.ts4
2 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/admin/requests/request-stats/request-stats.component.ts b/client/src/app/admin/requests/request-stats/request-stats.component.ts
index 4b0844574..d20b12199 100644
--- a/client/src/app/admin/requests/request-stats/request-stats.component.ts
+++ b/client/src/app/admin/requests/request-stats/request-stats.component.ts
@@ -27,7 +27,6 @@ export class RequestStatsComponent implements OnInit, OnDestroy {
27 getStats() { 27 getStats() {
28 this.requestService.getStats().subscribe( 28 this.requestService.getStats().subscribe(
29 stats => { 29 stats => {
30 console.log(stats);
31 this.stats = stats; 30 this.stats = stats;
32 this.runInterval(); 31 this.runInterval();
33 }, 32 },
diff --git a/client/src/app/shared/auth/auth.service.ts b/client/src/app/shared/auth/auth.service.ts
index a30c79c86..b7e0a44a7 100644
--- a/client/src/app/shared/auth/auth.service.ts
+++ b/client/src/app/shared/auth/auth.service.ts
@@ -159,8 +159,8 @@ export class AuthService {
159 this.router.navigate(['/login']); 159 this.router.navigate(['/login']);
160 160
161 return Observable.throw({ 161 return Observable.throw({
162 json: '', 162 json: () => '',
163 text: 'You need to reconnect.' 163 text: () => 'You need to reconnect.'
164 }); 164 });
165 } 165 }
166 166