Skip to content

Commit

Permalink
Merge branch 'master' of github.com:epochtalk/epochtalk-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
akinsey committed Nov 24, 2021
2 parents ae72abb + 735ee98 commit cdf207b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/modals/profile/UpdateAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ export default {
v.errorMessage = null
const params = {
username: props.user.username,
// if uploading locally, remove local root
// server side uses relative links in expirty
avatar: v.userCopy.avatar.replace(window.images_local_root, '')
avatar: v.userCopy.avatar,
}
usersApi.update(props.user.id, params)
.then(data => {
Expand Down

0 comments on commit cdf207b

Please sign in to comment.