profiles: avatar_url becomes avatar
This commit is contained in:
@ -52,7 +52,7 @@ class Profile
|
||||
let response_data = await response.json();
|
||||
this.id = response_data.user_id;
|
||||
this.username = response_data.username;
|
||||
this.avatar_url = response_data.avatar_url;
|
||||
this.avatar_url = response_data.avatar;
|
||||
|
||||
await this.getBlock();
|
||||
await this.getFriend();
|
||||
|
Reference in New Issue
Block a user