Fix username/discrim changing

This commit is contained in:
Madeline
2022-07-10 13:50:32 +10:00
parent 8b105e19d4
commit cdc97ee8c0
2 changed files with 4 additions and 0 deletions

View File

@@ -12526,6 +12526,9 @@
},
"code": {
"type": "string"
},
"discriminator": {
"type": "string"
}
},
"additionalProperties": false,

View File

@@ -21,6 +21,7 @@ export interface UserModifySchema {
password?: string;
new_password?: string;
code?: string;
discriminator?: string;
}
router.get("/", route({}), async (req: Request, res: Response) => {