From 9df52d660feb722404be00a50f3c8a612bec1c15 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Aug 2021 14:42:53 +0200 Subject: Migrate client to eslint --- client/src/app/core/auth/auth.service.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client/src/app/core/auth/auth.service.ts') diff --git a/client/src/app/core/auth/auth.service.ts b/client/src/app/core/auth/auth.service.ts index 5da66c981..79239a17a 100644 --- a/client/src/app/core/auth/auth.service.ts +++ b/client/src/app/core/auth/auth.service.ts @@ -48,7 +48,7 @@ export class AuthService { private hotkeysService: HotkeysService, private restExtractor: RestExtractor, private router: Router - ) { + ) { this.loginChanged = new Subject() this.loginChangedSource = this.loginChanged.asObservable() @@ -206,7 +206,9 @@ Ensure you have correctly configured PeerTube (config/ directory), in particular this.refreshingTokenObservable = this.http.post(AuthService.BASE_TOKEN_URL, body, { headers }) .pipe( map(res => this.handleRefreshToken(res)), - tap(() => { this.refreshingTokenObservable = null }), + tap(() => { + this.refreshingTokenObservable = null + }), catchError(err => { this.refreshingTokenObservable = null -- cgit v1.2.3