Ionic subscribe values from get to local variable

I have a variable:
public myAccountData;
and this function

    th=this.authServiceProvider.getData("userbyid/40").subscribe( myData => {

here’s the getData function:

  public getData(type): Observable<any> {

    return this.http.get(apiUrl + type);

When runnin the get request with userbyid/40 on postman this is what i get

On the html i tried to use {{myAccountData?.myUsername}} to show the variable’s value but somehow this is not working
I tried to console log the username inside the subsride and it worked

That was kinda dumb, but i just mis spelled the variables its usernames instead of myUsername