profiles: avatar_url becomes avatar

This commit is contained in:
AdrienLSH
2024-02-08 15:58:13 +01:00
parent f0615a53e4
commit 68df50cbeb
5 changed files with 13 additions and 13 deletions

View File

@ -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();