Merge pull request #2 from hiltongoncalves/hiltongoncalves-patch-2

Fix user edit with upload photo
This commit is contained in:
Hilton Gonçalves 2021-10-09 17:47:51 -03:00 committed by GitHub
commit 3ae300226f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default {
},
methods: {
update() {
this.form.post(this.route('users.update', this.user.id), {
this.form.post(this.route('users.update', this.user.id).url(), {
onSuccess: () => this.form.reset('password', 'photo'),
})
},