From 6688dac2c6371b175ec7a4b7bdae30fe0425caf2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 18 Dec 2020 23:11:23 +0100 Subject: [PATCH] Change avatar endpoint --- src/models/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {