mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-14 09:25:51 +00:00
Add promotional_email_opt_in field to register to allow newer clients to make register requests
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user