summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-06 15:25:42 +0300
committerBuildTools <59115290+BanTheNons@users.noreply.github.com>2021-08-06 15:25:42 +0300
commit974a6ccbd58b16ed054c5c349c3655c9ace06c10 (patch)
treee3c534534c9d8261090407068733557ed13904d2 /src
parentAdded the bot param (diff)
downloadserver-974a6ccbd58b16ed054c5c349c3655c9ace06c10.tar.xz
Added accent_color
Diffstat (limited to 'src')
-rw-r--r--src/routes/users/#id/profile.ts1
-rw-r--r--src/routes/users/@me/profile.ts1
2 files changed, 2 insertions, 0 deletions
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, }