diff options
author | Iratu <me@iratu.pro> | 2022-02-16 22:00:13 +0000 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-02-18 19:50:11 +0300 |
commit | 903ce169a17cc82f5a22cb5814d5a59f5812c25f (patch) | |
tree | a742fb1d37a56191bb9e8abb8041cf243fd68f69 /api/src | |
parent | Forgot the openapi.json change. (diff) | |
download | server-903ce169a17cc82f5a22cb5814d5a59f5812c25f.tar.xz |
changed user.premium_since to also load from the database.
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/users/#id/profile.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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, |