1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 02:42:37 +01:00

Merge branch 'fix/registerNewClients' into slowcord

This commit is contained in:
Madeline 2022-07-09 18:47:34 +10:00
commit 0b96c9f70b
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47
2 changed files with 5 additions and 0 deletions

View File

@ -1106,6 +1106,9 @@
},
"captcha_key": {
"type": "string"
},
"promotional_email_opt_in": {
"type": "boolean"
}
},
"additionalProperties": false,

View File

@ -31,6 +31,8 @@ export interface RegisterSchema {
date_of_birth?: Date; // "2000-04-03"
gift_code_sku_id?: string;
captcha_key?: string;
promotional_email_opt_in?: boolean;
}
router.post("/", route({ body: "RegisterSchema" }), async (req: Request, res: Response) => {