fix: client.me 2

This commit is contained in:
starnakin 2023-12-18 21:41:00 +01:00
parent 1961047703
commit 778d10d22f

View File

@ -21,7 +21,7 @@ class Profile
let response = await this.client._get(`/api/profiles/${user_id}`);
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.avatar_url = response_data.avatar_url;
}