changed user.premium_since to also load from the database.

This commit is contained in:
Iratu authored and Erkin Alp Güney committed 2022-02-18 19:50:11 +03:00
1 parent 3352f3b75a
commit 46f77f8e38
4 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -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,