Skip to content

Commit

Permalink
Minor changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-webkul committed Jun 25, 2024
1 parent 6991a22 commit 1928ec8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public function update()
'email' => 'email|unique:users,email,' . $user->id,
'password' => 'nullable|min:6|confirmed',
'current_password' => 'nullable|required|min:6',
'image' => 'mimes:jpeg,jpg,png,gif'
'image' => 'mimes:jpeg,jpg,png,gif',
'remove_image' => 'sometimes|boolean',
]);

$data = request()->input();
Expand Down

0 comments on commit 1928ec8

Please sign in to comment.