Fix user edit with upload photo
This commit is contained in:
		
							parent
							
								
									99b88e8943
								
							
						
					
					
						commit
						3a75816950
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -74,7 +74,7 @@ export default { | ||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|     update() { |     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'), |         onSuccess: () => this.form.reset('password', 'photo'), | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Hilton Gonçalves
						Hilton Gonçalves