message: Reformat service code
diff: @@ -26,9 +26,7 @@ interface TwoFactorAuthStatusPayload {
  })
  export class TwoFactorAuthService {
  - constructor (private http: HttpClient) {
  -
  - }
  + constructor (private http: HttpClient) {}
  verify (totpToken: String): Observable<AuthenticationPayload> {
  return this.http.post(`${environment.hostServer}/rest/2fa/verify`, {
  @@ -47,14 +45,11 @@ export class TwoFactorAuthService {
  password,
  setupToken,
  initialToken
  - })
  - .pipe(map(() => undefined), catchError((error) => { throw error }))
  + }).pipe(map(() => undefined), catchError((error) => { throw error }))
  }
  disable (password: string): Observable<void> {
  - return this.http.post(`${environment.hostServer}/rest/2fa/disable`, {
  - password
  - })
  + return this.http.post(`${environment.hostServer}/rest/2fa/disable`, { password })
  .pipe(map(() => undefined), catchError((error) => { throw error }))
  }
  }
  