You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The front end is currently making too many calls to the backend for the profile page. We need to consolidate the profile page information into one endpoint.
The front end is currently making too many calls to the backend for the profile page. We need to consolidate the profile page information into one endpoint.
Acceptance Criteria:
the response JSON has 5 fields:
- [ ] myProfile (JSON)
- [ ] mentorInfo (JSON)
- [ ] menteeInfo (JSON)
- [ ] sessions (list)
- [ ] notificationSettings (JSON)
if mentorInfo has data, then menteeInfo is empty (and vice-versa)
sessions is ordered by start date
build off of UserProfile viewclass
change UserProfile serializer_class after checking for self.request.version
The text was updated successfully, but these errors were encountered: