-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update functionality for Admin profile #931
update functionality for Admin profile #931
Conversation
@@ -33,7 +46,7 @@ | |||
router.post('/resetpassword/:token', validationMiddleware(resetPasswordSchema), resetPassword); | |||
|
|||
router.put('/password', validationMiddleware(passwordChangeSchema), authMiddleware, changePassword); | |||
router.put('/:id/:token', validationMiddleware(updateAdminSchema), updateAdmin); | |||
router.put('/:id/:token', validationMiddleware(updateAdminSchema),upload.single('image') ,updateAdmin); |
Check failure
Code scanning / CodeQL
Missing rate limiting High
a database access
This route handler performs
a file system access
This route handler performs
a file system access
This route handler performs
a database access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
592d569
to
dcb03a7
Compare
1431efc
to
aa9d197
Compare
@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 |
4e96f18
to
b3d4161
Compare
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
number should start with 9-6 it was validity check if number is from India its was already defined in backend |
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 applyChecklist
Put an
x
in the boxes that applyScreenshots
Please attach the screenshots of the changes made in case of change in user interface
Untitled.video.-.Made.with.Clipchamp.mp4
Other information
Any other information that is important to this pull request