Change avatar endpoint
This commit is contained in:
parent
ed22c5711a
commit
6688dac2c6
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue