aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-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