X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fauth%2Fauth.service.ts;h=b7e0a44a76c8a40e0b8e5e091327d0ee6cfcc111;hb=2c8d4697db4b5a2d645b7bfcaf91093a64597958;hp=a30c79c8685edafb59aa2bbdc6ba2d64afd17789;hpb=aff36eb063573532498979c83be1c279c84f2d53;p=github%2FChocobozzz%2FPeerTube.git 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 { this.router.navigate(['/login']); return Observable.throw({ - json: '', - text: 'You need to reconnect.' + json: () => '', + text: () => 'You need to reconnect.' }); }