Skip to content

Commit

Permalink
Remove 'friends' and 'connections' from buildAccountProfile() response.
Browse files Browse the repository at this point in the history
  • Loading branch information
Misterblue committed Jan 8, 2021
1 parent 4d46a40 commit 73b2b91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/route-tools/Util.ts
Expand Up @@ -243,8 +243,6 @@ export async function buildAccountProfile(pReq: Request, pAccount: AccountEntity
},
'profile_detail': pAccount.profileDetail,
'location': await buildLocationInfo(pAccount),
'friends': pAccount.friends,
'connections': pAccount.connections,
'when_account_created': pAccount.whenCreated ? pAccount.whenCreated.toISOString() : undefined,
'time_of_last_heartbeat': pAccount.timeOfLastHeartbeat ? pAccount.timeOfLastHeartbeat.toISOString() : undefined
};
Expand Down

0 comments on commit 73b2b91

Please sign in to comment.