ux: Me becomes Settings; backend: fix special usernames (me, block...)
This commit is contained in:
@ -42,7 +42,7 @@ class Profile
|
||||
{
|
||||
let response;
|
||||
if (this.username !== undefined)
|
||||
response = await this.client._get(`/api/profiles/${this.username}`);
|
||||
response = await this.client._get(`/api/profiles/user/${this.username}`);
|
||||
else
|
||||
response = await this.client._get(`/api/profiles/id/${this.id}`);
|
||||
|
||||
|
Reference in New Issue
Block a user