Refactored the code to avoid using too many "return" as the lint warns
How to Test
Make a post request to resume/experience with {"title": "Software Developer", "start_date": "2020-1-1", "company": "xyz company", "end_date": "2021-4-2", "description": "Worked as a software developer", "logo": "https://sampleimage.xyz"}. It will return the id of the newly created experience.
Description
resume/experience
endpoint.How to Test
resume/experience
with{"title": "Software Developer", "start_date": "2020-1-1", "company": "xyz company", "end_date": "2021-4-2", "description": "Worked as a software developer", "logo": "https://sampleimage.xyz"}
. It will return the id of the newly created experience.test_pytest.py passed for the experience section
Related Issue
closes #22