Skip to content

Commit cdf207b

Browse files
committed
Merge branch 'master' of github.com:epochtalk/epochtalk-vue
2 parents ae72abb + 735ee98 commit cdf207b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/modals/profile/UpdateAvatar.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ export default {
4949
v.errorMessage = null
5050
const params = {
5151
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, '')
52+
avatar: v.userCopy.avatar,
5553
}
5654
usersApi.update(props.user.id, params)
5755
.then(data => {

0 commit comments

Comments
 (0)