From 974a6ccbd58b16ed054c5c349c3655c9ace06c10 Mon Sep 17 00:00:00 2001 From: BuildTools <59115290+BanTheNons@users.noreply.github.com> Date: Fri, 6 Aug 2021 15:25:42 +0300 Subject: [PATCH] Added accent_color --- src/routes/users/#id/profile.ts | 1 + src/routes/users/@me/profile.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/users/#id/profile.ts b/src/routes/users/#id/profile.ts index 516606f3..b86b0b90 100644 --- a/src/routes/users/#id/profile.ts +++ b/src/routes/users/#id/profile.ts @@ -16,6 +16,7 @@ router.get("/", async (req: Request, res: Response) => { id: user.id, public_flags: user.public_flags, avatar: user.avatar, + accent_color: user.accent_color, bio: req.user_bot ? null : user.bio, bot: user.bot, } diff --git a/src/routes/users/@me/profile.ts b/src/routes/users/@me/profile.ts index 366eb535..0d295d05 100644 --- a/src/routes/users/@me/profile.ts +++ b/src/routes/users/@me/profile.ts @@ -16,6 +16,7 @@ router.get("/", async (req: Request, res: Response) => { id: user.id, public_flags: user.public_flags, avatar: user.avatar, + accent_color: user.accent_color, bio: user.bio, bot: user.bot, }