Change avatar endpoint
This commit is contained in:
parent
ed22c5711a
commit
6688dac2c6
@ -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…
x
Reference in New Issue
Block a user