Http Get Response Updates HTML but giving undefined error in console
问题 When I am updating my html with the response Obj using HttpClient it updates the values but gives multiple errors. File Name - auth-service.ts. import { any } from 'codelyzer/util/function'; import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; @Injectable() export class AuthService { constructor(private httpClient: HttpClient) { } get() { return this.httpClient.get<any>('/capi/v2/users/me', { observe: 'body', responseType: 'json' }); } }; File Name -