Change avatar endpoint

This commit is contained in:
kolaente 2020-12-18 23:11:23 +01:00
parent ed22c5711a
commit 6688dac2c6
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

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() {