Change avatar endpoint

This commit is contained in:
kolaente 2020-12-18 23:11:23 +01:00
parent ed22c5711a
commit 6688dac2c6
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export default class UserModel extends AbstractModel {
}
getAvatarUrl(size = 50) {
return `${window.API_URL}/${this.username}/avatar?size=${size}`
return `${window.API_URL}/avatar/${this.username}?size=${size}`
}
getDisplayName() {