diff --git a/src/api/routes/users/#user_id/profile.ts b/src/api/routes/users/#user_id/profile.ts index 2a580c4b3..c6a55201a 100644 --- a/src/api/routes/users/#user_id/profile.ts +++ b/src/api/routes/users/#user_id/profile.ts @@ -35,6 +35,17 @@ router.get("/", route({ responses: { 200: { body: "UserProfileResponse" } } }), id: user_id, }, relations: { connected_accounts: true }, + select: { + // Manually select everything cause typeorm is a fuck + connected_accounts: { + id: true, + type: true, + name: true, + verified: true, + metadata_: true, + visibility: true, + }, + }, }); const mutual_guilds: object[] = [];