ux: Me becomes Settings; backend: fix special usernames (me, block...)

This commit is contained in:
AdrienLSH
2024-02-08 10:09:36 +01:00
parent 1dea678a04
commit 55d3ea40f6
11 changed files with 17 additions and 18 deletions

View File

@ -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}`);