π Describe the Bug
If we click on the Yes, Delete option while updating the profile image, it throws an error. However, if we refresh the page, the profile picture is no longer visible. Behind the scenes, it is working, but on the client side, we are receiving a 500 error.
π Steps to Reproduce
List the steps to reproduce the bug:
- Go to the profile page.
- Try to delete the existing profile picture (or add one if none exists).
- Observe the error.
π Expected Behavior
The profile picture should be removed immediately without throwing an error. Currently, it is getting removed, but the client still shows an error message.
πΈ Screenshots or Videos
