Fix avatar url
This commit is contained in:
parent
0c6b0cb48d
commit
38c7e4b3c2
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ export default class UserModel extends AbstractModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
getAvatarUrl(size = 50) {
|
getAvatarUrl(size = 50) {
|
||||||
return `${window.API_URL}${this.username}/avatar?size=${size}`
|
return `${window.API_URL}/${this.username}/avatar?size=${size}`
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue