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
commitcdc97ee8c0d53f596e3fe89ab5deb303547010fe (patch)
treeab84cd5248bb60b9299eef26f33de483bc4bd942 /api/src
parentMerge branch 'master' into feat/latestWebClient (diff)
downloadserver-cdc97ee8c0d53f596e3fe89ab5deb303547010fe.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) => {