diff --git a/resources/js/Pages/Users/Edit.vue b/resources/js/Pages/Users/Edit.vue index 68b6eeb..2152a31 100644 --- a/resources/js/Pages/Users/Edit.vue +++ b/resources/js/Pages/Users/Edit.vue @@ -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'), }) },