diff options
author | Ashm Walia <40498934+ashmgarv@users.noreply.github.com> | 2021-01-16 10:43:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-16 10:43:03 -0800 |
commit | ae9cbb026f6128e732d36138751e319c926c72b1 (patch) | |
tree | 4946280bb00f8081370c3602a404c041a7cc28d5 /src/services/UserProfileService.ts | |
parent | 30391867438bb28cbcba9fc9ee2ff6d00027fd86 (diff) | |
parent | 23ccc2d6441aca0c89d0ba30e9d990b4aedb73cb (diff) |
Merge pull request #187 from shravyaramesh/tma538-friend-requests
[TMA485] friend request frontend
Diffstat (limited to 'src/services/UserProfileService.ts')
-rw-r--r-- | src/services/UserProfileService.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts index 37d00659..75d7d367 100644 --- a/src/services/UserProfileService.ts +++ b/src/services/UserProfileService.ts @@ -50,6 +50,8 @@ export const loadProfileInfo = async (token: string, userId: string) => { tiktok, university_class, profile_completion_stage, + friendship_status, + friendship_requester_id, } = info; birthday = birthday && moment(birthday).format('YYYY-MM-DD'); return { @@ -62,6 +64,8 @@ export const loadProfileInfo = async (token: string, userId: string) => { tiktok, university_class, profile_completion_stage, + friendship_status, + friendship_requester_id, }; } else { throw 'Unable to load profile data'; |