Fix username/discrim changing
This commit is contained in:
parent
e7c8b7f1f1
commit
9a685108c7
@ -12526,6 +12526,9 @@
|
|||||||
},
|
},
|
||||||
"code": {
|
"code": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"discriminator": {
|
||||||
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
@ -21,6 +21,7 @@ export interface UserModifySchema {
|
|||||||
password?: string;
|
password?: string;
|
||||||
new_password?: string;
|
new_password?: string;
|
||||||
code?: string;
|
code?: string;
|
||||||
|
discriminator?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
router.get("/", route({}), async (req: Request, res: Response) => {
|
router.get("/", route({}), async (req: Request, res: Response) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user