Open
Description
Description
As a contributor,
I need consistent style followed in resources file,
so that I don't get confused that whether some part of the code is missing or not.
Mocks
mentorship-backend/app/api/resources/user.py
Lines 171 to 182 in 6fe6929
Here the route is below the responses which breaks the convention.
mentorship-backend/app/api/resources/user.py
Lines 247 to 268 in 6fe6929
Here the responses aren't attached with the route function but with the put().
Acceptance Criteria
Update [Required]
- Make the above mentioned changes in the code to follow the same convention throughout the file.
- Check the same with other resources files and fix them if such convetion is broken.
Definition of Done
- All of the required items are completed.
- Approval by 1 mentor.
Estimation
4 hours