hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
154 stars 137 forks source link

[FIX] Include the addition of social links in the profile update #935

Open johnson-oragui opened 3 weeks ago

johnson-oragui commented 3 weeks ago

Describe the bug Because there is no room or provided entry from the backend for users to add the link(s) to their social accounts to their profile, when users try to update their social accounts from the frontend, the data is lost.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://anchor-python.teams.hng.tech/dashboard/admin/settings'
  2. Fill in the social links fields
  3. Click on 'save changes'
  4. See error (Data is lost)

Expected behavior The social links should be received and saved to the user profile as well as the other accompanied field on the request.

Screenshots If applicable, add screenshots to help explain your problem.

ON THE FRONTEND issue profile should FE

ON THE BACKEND issue profile should include social links and should have an id on the path

Desktop (please complete the following information):

Additional context When this fix is done, the social links should be saved to the user profile and displayed on the user profile for any interested party willing to socialize.

Related issue

Add social links to profile

MikeSoft007 commented 3 weeks ago

Assign to me