diff --git a/src/models/user.js b/src/models/user.js index 813214ee..fc7f3dfd 100644 --- a/src/models/user.js +++ b/src/models/user.js @@ -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() {