fix: client.me 2
This commit is contained in:
parent
1961047703
commit
778d10d22f
@ -21,7 +21,7 @@ class Profile
|
|||||||
let response = await this.client._get(`/api/profiles/${user_id}`);
|
let response = await this.client._get(`/api/profiles/${user_id}`);
|
||||||
let response_data = await response.json();
|
let response_data = await response.json();
|
||||||
|
|
||||||
this.user_id = response.user_id;
|
this.user_id = response_data.user_id;
|
||||||
this.username = response_data.username;
|
this.username = response_data.username;
|
||||||
this.avatar_url = response_data.avatar_url;
|
this.avatar_url = response_data.avatar_url;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user