update functionality for Admin profile
Issue that this pull request solves
Closes: #896
Proposed changes
[Frontend] Introduce Update Admin Functionality
Brief description of what is fixed or changed
Introduce Update Admin Functionality and also backend api updated
Types of changes
Put an x in the boxes that apply
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update (Documentation content changed)
- [ ] Other (please describe):
Checklist
Put an x in the boxes that apply
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] My changes does not break the current system and it passes all the current test cases.
Screenshots
Please attach the screenshots of the changes made in case of change in user interface
https://github.com/HITK-TECH-Community/Community-Website/assets/122097724/7b260dd2-71cb-4d47-ac23-f09d0f19de72
Other information
Any other information that is important to this pull request
@SwayamRana808 let me know when u are done fixing the requested changes as i can see the current state of this pr is not good, a lot of un-necessary changes are there and functionality is still not intact
i have changed response json but still it showing in network tab
it should have shown something like this --
@Kajol-Kumari can you please have look on this
The phone number field keeps on giving error, can u check this?
number should start with 9-6 it was validity check if number is from India its was already defined in backend here validationSchema updateAdmin contact schema 6-9
The phone number field keeps on giving error, can u check this?