We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be2a008 + e3b634c commit 735ee98Copy full SHA for 735ee98
src/components/modals/profile/UpdateAvatar.vue
@@ -49,9 +49,7 @@ export default {
49
v.errorMessage = null
50
const params = {
51
username: props.user.username,
52
- // if uploading locally, remove local root
53
- // server side uses relative links in expirty
54
- avatar: v.userCopy.avatar.replace(window.images_local_root, '')
+ avatar: v.userCopy.avatar,
55
}
56
usersApi.update(props.user.id, params)
57
.then(data => {
0 commit comments