From 903ce169a17cc82f5a22cb5814d5a59f5812c25f Mon Sep 17 00:00:00 2001 From: Iratu Date: Wed, 16 Feb 2022 22:00:13 +0000 Subject: changed user.premium_since to also load from the database. --- api/src/routes/users/#id/profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/src') diff --git a/api/src/routes/users/#id/profile.ts b/api/src/routes/users/#id/profile.ts index 06be66ae..4dbb84cf 100644 --- a/api/src/routes/users/#id/profile.ts +++ b/api/src/routes/users/#id/profile.ts @@ -39,7 +39,7 @@ router.get("/", route({ test: { response: { body: "UserProfileResponse" } } }), res.json({ connected_accounts: user.connected_accounts, premium_guild_since: premium_guild_since, // TODO - premium_since: null, // TODO + premium_since: user.premium_since, // TODO mutual_guilds: mutual_guilds, // TODO {id: "", nick: null} when ?with_mutual_guilds=true user: { username: user.username, -- cgit 1.5.1