mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 02:42:37 +01:00
Fix username/discrim changing
This commit is contained in:
parent
8b105e19d4
commit
cdc97ee8c0
@ -12526,6 +12526,9 @@
|
||||
},
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"discriminator": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
@ -21,6 +21,7 @@ export interface UserModifySchema {
|
||||
password?: string;
|
||||
new_password?: string;
|
||||
code?: string;
|
||||
discriminator?: string;
|
||||
}
|
||||
|
||||
router.get("/", route({}), async (req: Request, res: Response) => {
|
||||
|
Loading…
Reference in New Issue
Block a user