summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-10 13:50:32 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-07-10 13:50:32 +1000
commit9a685108c7e582498887a668de56d6dfcf92ac3d (patch)
tree71c954f4f4c26f428c253eb6bf2027b8563e11ad /api/src
parentMerge branch 'master' into feat/latestWebClient (diff)
downloadserver-9a685108c7e582498887a668de56d6dfcf92ac3d.tar.xz
Fix username/discrim changing
Diffstat (limited to 'api/src')
-rw-r--r--api/src/routes/users/@me/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/src/routes/users/@me/index.ts b/api/src/routes/users/@me/index.ts

index 1af413c4..107e59c4 100644 --- a/api/src/routes/users/@me/index.ts +++ b/api/src/routes/users/@me/index.ts
@@ -21,6 +21,7 @@ export interface UserModifySchema { password?: string; new_password?: string; code?: string; + discriminator?: string; } router.get("/", route({}), async (req: Request, res: Response) => {