client/src/app/core/auth/auth.service.ts
Function refreshAccessToken
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refreshAccessToken () {
if (this.refreshingTokenObservable) return this.refreshingTokenObservable
if (!this.getAccessToken()) return throwError(() => new Error($localize`You need to reconnect`))
logger.info('Refreshing token...')