Closed amolkittur closed 1 month ago
Endpoints for Profile page
@Anand-ak7
Please confirm if the implemented changes meet the requirements. Once I receive your approval, I will close this issue.
@amolkittur Modify the GET request endpoint /v1/admin/user-details-username to use tr_no instead of a username for fetching user data. Also, update the POST request endpoint to use tr_no instead of user_details to update user details.
@Anand-ak7 I have made the changes as requested. Please confirm if the implemented changes meet the requirements.
@amolkittur not able to get the user list in this /v1/admin/user-list endpoint
@Anand-ak7
I have made the changes and pushed the code. If the dict of the user does not have the field Profile we will get the error along the message which includes the trader number.
@amolkittur
Need to retrieve the User Name and ID from the database response in the admin user list endpoint.
/v1/admin/user-list
{ "name": "Anand", "tr_no": "Tr00" }
@Anand-ak7 I have made the changes. Let me know if the changes work.
Closing this issue as all the tasks required to pass the Phase 1 are complete
Originally posted by @amolkittur in https://github.com/Serendipity2-0/TradeManV1/issues/42#issuecomment-2238763216