bounswe / bounswe2022group4

6 stars 3 forks source link

Backend: Add edit profile page endpoint #389

Closed MercerFrey closed 1 year ago

MercerFrey commented 1 year ago

It implements edit profile page endpoint. It accepts a json object as body. For example the following: { "email": "melih@gmail.com", "username": "melih", "is_expert": false, "date_joined": "2022-12-04T12:07:36.293874Z", "is_admin": false, "age": null, "name": "melih aktas", "last_login": "2022-12-04T12:10:24.743456Z", "profile_image": null } Then it saves it to the database. Based on the implementation of the frontend, it updates the appropriate fields.

oguzhantok commented 1 year ago

I reviewed the changes, it looks well.. Thank you @MercerFrey