diff options
Diffstat (limited to 'client/src/app/shared/auth')
-rw-r--r-- | client/src/app/shared/auth/auth.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||