From 80763bbe45a78bf325a5631598e78e6fb8ef811c Mon Sep 17 00:00:00 2001 From: Michael Job Date: Thu, 16 Sep 2021 15:34:56 +0200 Subject: [PATCH] Fix for issue 150 photo upload added .url() to line 77 as mentioned by https://github.com/barnoma-soz in comments for issue 150 - tested locally with current ping crm setup --- resources/js/Pages/Users/Edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'), }) },