diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-01-15 03:33:59 -0800 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-01-15 03:33:59 -0800 |
commit | df6595694c678657fec30d881fb1edcd39b62f17 (patch) | |
tree | 2953fbbc222fc3f7f092ee61c6d4b0c3414d3f9d /src/services/UserProfileService.ts | |
parent | 82476e27fe6f5dc699370659d223dcd86fd5c76b (diff) |
friend request
Diffstat (limited to 'src/services/UserProfileService.ts')
-rw-r--r-- | src/services/UserProfileService.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts index 793ee44d..80ab4fff 100644 --- a/src/services/UserProfileService.ts +++ b/src/services/UserProfileService.ts @@ -39,7 +39,10 @@ export const loadProfileInfo = async (token: string, userId: string) => { tiktok, university_class, profile_completion_stage, + friendship_status, + friendship_requester_id, } = info; + console.log('friendship_requester: ', friendship_requester_id); birthday = birthday && moment(birthday).format('YYYY-MM-DD'); return { name, @@ -51,6 +54,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'; |